diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-01-18 08:25:47 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-01-18 08:25:47 +0100 |
commit | f54e9367f8499a9bf6b2afbc0dce63e1d53c525a (patch) | |
tree | a2e852b0fc05c0e1397136bca29c359163bc2445 /include/linux/netfilter_ipv4/ip_tables.h | |
parent | a83d8e8d099fc373a5ca7112ad08c553bb2c180f (diff) | |
download | kernel_samsung_espresso10-f54e9367f8499a9bf6b2afbc0dce63e1d53c525a.zip kernel_samsung_espresso10-f54e9367f8499a9bf6b2afbc0dce63e1d53c525a.tar.gz kernel_samsung_espresso10-f54e9367f8499a9bf6b2afbc0dce63e1d53c525a.tar.bz2 |
netfilter: xtables: add struct xt_mtdtor_param::net
Add ->net to match destructor list like ->net in constructor list.
Make sure it's set in ebtables/iptables/ip6tables, this requires to
propagate netns up to *_unregister_table().
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux/netfilter_ipv4/ip_tables.h')
-rw-r--r-- | include/linux/netfilter_ipv4/ip_tables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter_ipv4/ip_tables.h b/include/linux/netfilter_ipv4/ip_tables.h index 27b3f58..8d1f273 100644 --- a/include/linux/netfilter_ipv4/ip_tables.h +++ b/include/linux/netfilter_ipv4/ip_tables.h @@ -242,7 +242,7 @@ extern void ipt_init(void) __init; extern struct xt_table *ipt_register_table(struct net *net, const struct xt_table *table, const struct ipt_replace *repl); -extern void ipt_unregister_table(struct xt_table *table); +extern void ipt_unregister_table(struct net *net, struct xt_table *table); /* Standard entry. */ struct ipt_standard { |