Commit 7ba81869 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by David S. Miller

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: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 93623f2b
...@@ -113,6 +113,7 @@ static void __net_exit iptable_mangle_net_exit(struct net *net) ...@@ -113,6 +113,7 @@ static void __net_exit iptable_mangle_net_exit(struct net *net)
static struct pernet_operations iptable_mangle_net_ops = { static struct pernet_operations iptable_mangle_net_ops = {
.exit = iptable_mangle_net_exit, .exit = iptable_mangle_net_exit,
.async = true,
}; };
static int __init iptable_mangle_init(void) static int __init iptable_mangle_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment