diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-03-07 10:40:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-08 18:36:45 +0100 |
commit | 65f828c35261c46d848e9d789ccf29c2fe7127a8 (patch) | |
tree | cfee2a49112f69c98432a1092e5fa78a694f41b6 /net/ipv4 | |
parent | net: Convert iptable_nat_net_ops (diff) | |
download | linux-65f828c35261c46d848e9d789ccf29c2fe7127a8.tar.xz linux-65f828c35261c46d848e9d789ccf29c2fe7127a8.zip |
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/ipv4')
-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) |