diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-03-07 10:41:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-08 18:36:45 +0100 |
commit | 8dbc6e2eaeccccecd23888bd14c10a2c384c280f (patch) | |
tree | 2744f9df2e824c33e4ef39e08bb10148205a7d4b /net/ipv4 | |
parent | net: Convert iptable_raw_net_ops (diff) | |
download | linux-8dbc6e2eaeccccecd23888bd14c10a2c384c280f.tar.xz linux-8dbc6e2eaeccccecd23888bd14c10a2c384c280f.zip |
net: Convert iptable_security_net_ops
These pernet_operations unregister net::ipv4::iptable_security 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_security.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/iptable_security.c b/net/ipv4/netfilter/iptable_security.c index e5379fe57b64..c40d6b3d8b6a 100644 --- a/net/ipv4/netfilter/iptable_security.c +++ b/net/ipv4/netfilter/iptable_security.c @@ -76,6 +76,7 @@ static void __net_exit iptable_security_net_exit(struct net *net) static struct pernet_operations iptable_security_net_ops = { .exit = iptable_security_net_exit, + .async = true, }; static int __init iptable_security_init(void) |