diff options
author | Patrick McHardy <kaber@trash.net> | 2005-08-14 19:27:50 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 16:00:49 -0700 |
commit | d629b836d151d43332492651dd841d32e57ebe3b (patch) | |
tree | 0276547438963b51b8d92df201e91d867c7fa9c0 /include | |
parent | 77247bbb3094246be9d057e7be442cc708f123a8 (diff) | |
download | kernel_samsung_tuna-d629b836d151d43332492651dd841d32e57ebe3b.zip kernel_samsung_tuna-d629b836d151d43332492651dd841d32e57ebe3b.tar.gz kernel_samsung_tuna-d629b836d151d43332492651dd841d32e57ebe3b.tar.bz2 |
[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.h | 2 |
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 */ }; |