mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
[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:
parent
d629b836d1
commit
ac6d439d20
27 changed files with 183 additions and 91 deletions
|
|
@ -80,8 +80,8 @@ static void selnl_notify(int msgtype, void *data)
|
|||
nlh = NLMSG_PUT(skb, 0, 0, msgtype, len);
|
||||
selnl_add_payload(nlh, len, msgtype, data);
|
||||
nlh->nlmsg_len = skb->tail - tmp;
|
||||
NETLINK_CB(skb).dst_groups = SELNL_GRP_AVC;
|
||||
netlink_broadcast(selnl, skb, 0, SELNL_GRP_AVC, GFP_USER);
|
||||
NETLINK_CB(skb).dst_group = SELNLGRP_AVC;
|
||||
netlink_broadcast(selnl, skb, 0, SELNLGRP_AVC, GFP_USER);
|
||||
out:
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue