diff options
author | Patrick McHardy <kaber@trash.net> | 2005-08-14 22:25:47 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 19:00:34 -0400 |
commit | 43e943c32b9213b5d25407b281c94aaa474fd9a6 (patch) | |
tree | 7844a1aa95d697ae378bc799085e1b29eb0b8a48 /lib/kobject_uevent.c | |
parent | ad93e266a17c6f606e96304c866eb73665ae34fa (diff) |
[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>
Diffstat (limited to 'lib/kobject_uevent.c')
-rw-r--r-- | lib/kobject_uevent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c index 88f4d746aa05..bc000619f4f8 100644 --- a/lib/kobject_uevent.c +++ b/lib/kobject_uevent.c | |||
@@ -93,6 +93,7 @@ static int send_uevent(const char *signal, const char *obj, | |||
93 | } | 93 | } |
94 | } | 94 | } |
95 | 95 | ||
96 | NETLINK_CB(skb).dst_groups = 1; | ||
96 | return netlink_broadcast(uevent_sock, skb, 0, 1, gfp_mask); | 97 | return netlink_broadcast(uevent_sock, skb, 0, 1, gfp_mask); |
97 | } | 98 | } |
98 | 99 | ||