git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cfg80211: fix NULL ptr deref
[safe/jmp/linux-2.6]
/
net
/
tipc
/
netlink.c
diff --git
a/net/tipc/netlink.c
b/net/tipc/netlink.c
index
3c57005
..
7bda8e3
100644
(file)
--- a/
net/tipc/netlink.c
+++ b/
net/tipc/netlink.c
@@
-62,7
+62,7
@@
static int handle_cmd(struct sk_buff *skb, struct genl_info *info)
rep_nlh = nlmsg_hdr(rep_buf);
memcpy(rep_nlh, req_nlh, hdr_space);
rep_nlh->nlmsg_len = rep_buf->len;
- genlmsg_unicast(rep_buf, NETLINK_CB(skb).pid);
+ genlmsg_unicast(
&init_net,
rep_buf, NETLINK_CB(skb).pid);
}
return 0;