]> git.baikalelectronics.ru Git - kernel.git/commit
netlink: kill netlink_set_nonroot
authorPablo Neira Ayuso <pablo@netfilter.org>
Sat, 8 Sep 2012 02:53:53 +0000 (02:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Sep 2012 22:45:27 +0000 (18:45 -0400)
commitf1745bc2e15c9f8c04716e1345182257aea9226f
treeca523e084318b6e908b18c6f3e9e53ea7e9a1c49
parent9a8565a6c4952158269a3cffa64ebd90bb365a7c
netlink: kill netlink_set_nonroot

Replace netlink_set_nonroot by one new field `flags' in
struct netlink_kernel_cfg that is passed to netlink_kernel_create.

This patch also renames NL_NONROOT_* to NL_CFG_F_NONROOT_* since
now the flags field in nl_table is generic (so we can add more
flags if needed in the future).

Also adjust all callers in the net-next tree to use these flags
instead of netlink_set_nonroot.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netlink.h
lib/kobject_uevent.c
net/core/rtnetlink.c
net/netlink/af_netlink.c
net/netlink/genetlink.c
security/selinux/netlink.c