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 /include/net | |
parent | netfilter: xt_osf: change %pi4 to %pI4 (diff) | |
download | linux-cd8c20b650f49354722b8cc1f03320b004815a0a.tar.xz linux-cd8c20b650f49354722b8cc1f03320b004815a0a.zip |
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 'include/net')
-rw-r--r-- | include/net/net_namespace.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index f307e133d14c..82b7be4db89a 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h @@ -81,6 +81,8 @@ struct net { #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE) struct netns_ct ct; #endif + struct sock *nfnl; + struct sock *nfnl_stash; #endif #ifdef CONFIG_XFRM struct netns_xfrm xfrm; |