diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-03-07 12:40:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-08 12:36:45 -0500 |
commit | 7ba81869d1f6f985e64031e161b4c009cc15be99 (patch) | |
tree | b686e152f76b9d788a4d30d7ddb871f405f7f4cd /net/ipv4 | |
parent | 93623f2b00297f0eb4437fc2e47ad0d4fd58a3ad (diff) |
net: Convert iptable_mangle_net_ops
These pernet_operations unregister net::ipv4::iptable_mangle table.
Another net/pernet_operations do not send ipv4 packets to foreign
net namespaces. So, we mark them async.
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/netfilter/iptable_mangle.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/iptable_mangle.c b/net/ipv4/netfilter/iptable_mangle.c index dea138ca8925..f6074059531a 100644 --- a/net/ipv4/netfilter/iptable_mangle.c +++ b/net/ipv4/netfilter/iptable_mangle.c @@ -113,6 +113,7 @@ static void __net_exit iptable_mangle_net_exit(struct net *net) static struct pernet_operations iptable_mangle_net_ops = { .exit = iptable_mangle_net_exit, + .async = true, }; static int __init iptable_mangle_init(void) |