Re: [PATCH] netlink: remove duplicated nla_need_padding_for_64bit() check

2020-08-24 Thread David Miller
From: linmiaohe Date: Mon, 24 Aug 2020 11:58:24 + > friendly ping :) Networking patches must be posted to net...@vger.kernel.org, so please resubmit this properly. Thank you.

Re: [PATCH] netlink: remove duplicated nla_need_padding_for_64bit() check

2020-08-24 Thread linmiaohe
friendly ping :) >Miaohe Lin wrote: >From: Miaohe Lin > >The need for padding 64bit is implicitly checked by nla_align_64bit(), so >remove this explicit one. > >Signed-off-by: Miaohe Lin >--- > lib/nlattr.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/lib/nlattr.c b

[PATCH] netlink: remove duplicated nla_need_padding_for_64bit() check

2020-08-01 Thread linmiaohe
From: Miaohe Lin The need for padding 64bit is implicitly checked by nla_align_64bit(), so remove this explicit one. Signed-off-by: Miaohe Lin --- lib/nlattr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/nlattr.c b/lib/nlattr.c index bc5b5cf608c4..98f596bfbfd8 100