2021-05-27 22:44:32

by Jakub Kicinski

[permalink] [raw]
Subject: Re: [PATCH] netlink: simplify NLMSG_DATA with NLMSG_HDRLEN

On Thu, 27 May 2021 15:21:36 +0800 Chen Li wrote:
> The NLMSG_LENGTH(0) may confuse the API users,
> NLMSG_HDRLEN is much more clear.
>
> Besides, some code style problems are also fixed.
> Signed-off-by: Chen Li <[email protected]>

Looks fine, but you'll need to repost and CC netdev@vger.


2021-05-28 05:08:46

by Chen Li

[permalink] [raw]
Subject: Re: [PATCH] netlink: simplify NLMSG_DATA with NLMSG_HDRLEN

On Fri, 28 May 2021 00:07:24 +0800,
Jakub Kicinski wrote:
>
> On Thu, 27 May 2021 15:21:36 +0800 Chen Li wrote:
> > The NLMSG_LENGTH(0) may confuse the API users,
> > NLMSG_HDRLEN is much more clear.
> >
> > Besides, some code style problems are also fixed.
> > Signed-off-by: Chen Li <[email protected]>
>
> Looks fine, but you'll need to repost and CC netdev@vger.
>
>

Thanks, done.