[NETLINK]: Fix missing dst_groups initializations in netlink_broadcast users
netlink_broadcast users must initialize NETLINK_CB(skb).dst_groups to the destination group mask for netlink_recvmsg. 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
ad93e266a1
commit
43e943c32b
@@ -93,6 +93,7 @@ static int send_uevent(const char *signal, const char *obj,
|
||||
}
|
||||
}
|
||||
|
||||
NETLINK_CB(skb).dst_groups = 1;
|
||||
return netlink_broadcast(uevent_sock, skb, 0, 1, gfp_mask);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user