diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-01-13 16:02:14 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-01-13 16:02:14 +0100 |
commit | cd8c20b650f49354722b8cc1f03320b004815a0a (patch) | |
tree | 56c21f6211f0acea000452d5f6063453276ca215 /net/netfilter/nfnetlink_log.c | |
parent | 7f635d0d1bf84ad7a0032cbce9d902b9384c48b7 (diff) |
netfilter: nfnetlink: netns support
Make nfnl socket per-petns.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/netfilter/nfnetlink_log.c')
-rw-r--r-- | net/netfilter/nfnetlink_log.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/netfilter/nfnetlink_log.c b/net/netfilter/nfnetlink_log.c index 9de0470d557..285e9029a9f 100644 --- a/net/netfilter/nfnetlink_log.c +++ b/net/netfilter/nfnetlink_log.c @@ -323,7 +323,8 @@ __nfulnl_send(struct nfulnl_instance *inst) NLMSG_DONE, sizeof(struct nfgenmsg)); - status = nfnetlink_unicast(inst->skb, inst->peer_pid, MSG_DONTWAIT); + status = nfnetlink_unicast(inst->skb, &init_net, inst->peer_pid, + MSG_DONTWAIT); inst->qlen = 0; inst->skb = NULL; |