Re: [PATCH 0/3] netlink: refactor decode_nlmsg_flags

2017-10-27 Thread JingPiao Chen
On Fri, Oct 27, 2017 at 5:50 AM, Dmitry V. Levin wrote: > On Thu, Sep 28, 2017 at 01:13:07PM +0800, JingPiao Chen wrote: > > [RFC 2/3]: The reason why this patch mark as RFC is that now only netfilter > > use delete flags. If this should not be merged, please tell me. I will decode > > delete flag

Re: [PATCH 0/3] netlink: refactor decode_nlmsg_flags

2017-10-26 Thread Dmitry V. Levin
On Thu, Sep 28, 2017 at 01:13:07PM +0800, JingPiao Chen wrote: > [RFC 2/3]: The reason why this patch mark as RFC is that now only netfilter > use delete flags. If this should not be merged, please tell me. I will decode > delete flags in [3/3]("netlink: decode NETLINK_NETFILTER netlink message >

[PATCH 0/3] netlink: refactor decode_nlmsg_flags

2017-09-28 Thread JingPiao Chen
[RFC 2/3]: The reason why this patch mark as RFC is that now only netfilter use delete flags. If this should not be merged, please tell me. I will decode delete flags in [3/3]("netlink: decode NETLINK_NETFILTER netlink message flags") About RTM_DELACTION, it use NLM_F_ROOT flags: Linux kernel: ne