diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-03-07 12:40:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-08 12:36:45 -0500 |
commit | 65f828c35261c46d848e9d789ccf29c2fe7127a8 (patch) | |
tree | cfee2a49112f69c98432a1092e5fa78a694f41b6 /net | |
parent | 06a8a67b5dac661a0f0b865926ceab2e62d512cd (diff) |
net: Convert iptable_raw_net_ops
These pernet_operations unregister net::ipv4::iptable_raw 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')
-rw-r--r-- | net/ipv4/netfilter/iptable_raw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/iptable_raw.c b/net/ipv4/netfilter/iptable_raw.c index 960625aabf04..963753e50842 100644 --- a/net/ipv4/netfilter/iptable_raw.c +++ b/net/ipv4/netfilter/iptable_raw.c @@ -76,6 +76,7 @@ static void __net_exit iptable_raw_net_exit(struct net *net) static struct pernet_operations iptable_raw_net_ops = { .exit = iptable_raw_net_exit, + .async = true, }; static int __init iptable_raw_init(void) |