[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:
Patrick McHardy
2005-08-14 19:25:47 -07:00
committed by David S. Miller
parent ad93e266a1
commit 43e943c32b
3 changed files with 10 additions and 0 deletions

View File

@@ -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);
}