[NETLINK]: Convert netlink users to use group numbers instead of bitmasks
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
d629b836d1
commit
ac6d439d20
@@ -198,7 +198,7 @@ int nfnetlink_send(struct sk_buff *skb, u32 pid, unsigned group, int echo)
|
||||
int allocation = in_interrupt() ? GFP_ATOMIC : GFP_KERNEL;
|
||||
int err = 0;
|
||||
|
||||
NETLINK_CB(skb).dst_groups = group;
|
||||
NETLINK_CB(skb).dst_group = group;
|
||||
if (echo)
|
||||
atomic_inc(&skb->users);
|
||||
netlink_broadcast(nfnl, skb, pid, group, allocation);
|
||||
|
Reference in New Issue
Block a user