diff options
author | Alexey Dobriyan | 2010-01-18 08:25:47 +0100 |
---|---|---|
committer | Patrick McHardy | 2010-01-18 08:25:47 +0100 |
commit | f54e9367f8499a9bf6b2afbc0dce63e1d53c525a (patch) | |
tree | a2e852b0fc05c0e1397136bca29c359163bc2445 /net/ipv4/netfilter/iptable_raw.c | |
parent | netfilter: xtables: add struct xt_mtchk_param::net (diff) | |
download | kernel-qcow2-linux-f54e9367f8499a9bf6b2afbc0dce63e1d53c525a.tar.gz kernel-qcow2-linux-f54e9367f8499a9bf6b2afbc0dce63e1d53c525a.tar.xz kernel-qcow2-linux-f54e9367f8499a9bf6b2afbc0dce63e1d53c525a.zip |
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 'net/ipv4/netfilter/iptable_raw.c')
-rw-r--r-- | net/ipv4/netfilter/iptable_raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/iptable_raw.c b/net/ipv4/netfilter/iptable_raw.c index 993edc23be09..40f2b9f611a2 100644 --- a/net/ipv4/netfilter/iptable_raw.c +++ b/net/ipv4/netfilter/iptable_raw.c @@ -100,7 +100,7 @@ static int __net_init iptable_raw_net_init(struct net *net) static void __net_exit iptable_raw_net_exit(struct net *net) { - ipt_unregister_table(net->ipv4.iptable_raw); + ipt_unregister_table(net, net->ipv4.iptable_raw); } static struct pernet_operations iptable_raw_net_ops = { |