]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/tipc/netlink.c
genetlink: make netns aware
[net-next-2.6.git] / net / tipc / netlink.c
index 3c57005e44d1cd060e17d8e13ae93a1d75b65315..7bda8e3d1398937d83cf7a92e5477030826ed554 100644 (file)
@@ -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;