[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
@@ -1144,8 +1144,8 @@ static inline void rtmsg_iwinfo(struct net_device * dev,
|
||||
kfree_skb(skb);
|
||||
return;
|
||||
}
|
||||
NETLINK_CB(skb).dst_groups = RTMGRP_LINK;
|
||||
netlink_broadcast(rtnl, skb, 0, RTMGRP_LINK, GFP_ATOMIC);
|
||||
NETLINK_CB(skb).dst_group = RTNLGRP_LINK;
|
||||
netlink_broadcast(rtnl, skb, 0, RTNLGRP_LINK, GFP_ATOMIC);
|
||||
}
|
||||
#endif /* WE_EVENT_NETLINK */
|
||||
|
||||
|
Reference in New Issue
Block a user