diff options
author | Alexey Dobriyan <adobriyan@parallels.com> | 2008-07-08 11:34:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-08 11:34:52 +0200 |
commit | d2789312cc6d875462d1d248e07a8a9caf8a6ae3 (patch) | |
tree | d53894fffb3c0731983e068ba662a17867dd4d2d /net/ipv6 | |
parent | amd8111e: delete non NAPI code from the driver. (diff) | |
download | linux-d2789312cc6d875462d1d248e07a8a9caf8a6ae3.tar.xz linux-d2789312cc6d875462d1d248e07a8a9caf8a6ae3.zip |
netfilter: use correct namespace in ip6table_security
Signed-off-by: Alexey Dobriyan <adobriyan@parallels.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/netfilter/ip6table_security.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/netfilter/ip6table_security.c b/net/ipv6/netfilter/ip6table_security.c index 063a3d9c3c67..a07abee30497 100644 --- a/net/ipv6/netfilter/ip6table_security.c +++ b/net/ipv6/netfilter/ip6table_security.c @@ -72,7 +72,7 @@ ip6t_local_in_hook(unsigned int hook, int (*okfn)(struct sk_buff *)) { return ip6t_do_table(skb, hook, in, out, - init_net.ipv6.ip6table_security); + nf_local_in_net(in, out)->ipv6.ip6table_security); } static unsigned int @@ -83,7 +83,7 @@ ip6t_forward_hook(unsigned int hook, int (*okfn)(struct sk_buff *)) { return ip6t_do_table(skb, hook, in, out, - init_net.ipv6.ip6table_security); + nf_forward_net(in, out)->ipv6.ip6table_security); } static unsigned int @@ -95,7 +95,7 @@ ip6t_local_out_hook(unsigned int hook, { /* TBD: handle short packets via raw socket */ return ip6t_do_table(skb, hook, in, out, - init_net.ipv6.ip6table_security); + nf_local_out_net(in, out)->ipv6.ip6table_security); } static struct nf_hook_ops ip6t_ops[] __read_mostly = { |