summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2005-08-14 19:27:50 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 16:00:49 -0700
commitd629b836d151d43332492651dd841d32e57ebe3b (patch)
tree0276547438963b51b8d92df201e91d867c7fa9c0 /include
parent77247bbb3094246be9d057e7be442cc708f123a8 (diff)
downloadop-kernel-dev-d629b836d151d43332492651dd841d32e57ebe3b.zip
op-kernel-dev-d629b836d151d43332492651dd841d32e57ebe3b.tar.gz
[NETLINK]: Use group numbers instead of bitmasks internally
Using the group number allows increasing the number of groups without beeing limited by the size of the bitmask. It introduces one limitation for netlink users: messages can't be broadcasted to multiple groups anymore, however this feature was never used inside the kernel. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h
index eab51f9..c724c9d 100644
--- a/include/linux/netlink.h
+++ b/include/linux/netlink.h
@@ -107,7 +107,7 @@ struct netlink_skb_parms
struct ucred creds; /* Skb credentials */
__u32 pid;
__u32 dst_pid;
- __u32 dst_groups;
+ __u32 dst_group;
kernel_cap_t eff_cap;
__u32 loginuid; /* Login (audit) uid */
};
OpenPOWER on IntegriCloud