summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv6
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@sw.ru>2008-01-31 04:03:45 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-31 19:27:39 -0800
commit336b517fdc0f92f54a3f77a2d0933f9556aa79ad (patch)
tree49fe68be0a741de7370196be70afaa71a990e38f /include/linux/netfilter_ipv6
parent9335f047fe61587ec82ff12fbb1220bcfdd32006 (diff)
downloadlinux-stable-336b517fdc0f92f54a3f77a2d0933f9556aa79ad.tar.gz
linux-stable-336b517fdc0f92f54a3f77a2d0933f9556aa79ad.tar.bz2
linux-stable-336b517fdc0f92f54a3f77a2d0933f9556aa79ad.zip
[NETFILTER]: ip6_tables: netns preparation
* Propagate netns from userspace down to xt_find_table_lock() * Register ip6 tables in netns (modules still use init_net) Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netfilter_ipv6')
-rw-r--r--include/linux/netfilter_ipv6/ip6_tables.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/netfilter_ipv6/ip6_tables.h b/include/linux/netfilter_ipv6/ip6_tables.h
index f716c7506245..f2507dcc5750 100644
--- a/include/linux/netfilter_ipv6/ip6_tables.h
+++ b/include/linux/netfilter_ipv6/ip6_tables.h
@@ -305,7 +305,8 @@ ip6t_get_target(struct ip6t_entry *e)
#include <linux/init.h>
extern void ip6t_init(void) __init;
-extern struct xt_table *ip6t_register_table(struct xt_table *table,
+extern struct xt_table *ip6t_register_table(struct net *net,
+ struct xt_table *table,
const struct ip6t_replace *repl);
extern void ip6t_unregister_table(struct xt_table *table);
extern unsigned int ip6t_do_table(struct sk_buff *skb,