Subject: Re: [PATCH v2] net: introduce helper macro for_each_cmsghdr

From: Gu Zheng <[email-masked]>
Date: Thu, 11 Dec 2014 09:50:02 +0800

Hi David,
On 12/11/2014 09:47 AM, David Miller wrote:

> From: Gu Zheng <[email-masked]>
> Date: Thu, 11 Dec 2014 09:05:59 +0800
> 
>> IMO, the user-land programs need to be build with the matched
>> headers separately.
> 
> You absolutely cannot provide this new interface to userland and
> expect programs to be able to just use it, it's non-standard and does
> not exist in older headers.

Got it, sorry for my mistake, and thanks for your correction.

> 
> I do not want this new interface available to userland programs.
> They can just open-code the list traversal just like every program
> in history has had to do since BSD UNIX.

Agree. Let's leave the user-land ones as they are.
I'll send a new version (without changing user-land ones) soon.

Best regards,
Gu

> .