summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-03-07 12:41:07 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-08 12:36:45 -0500
commit8dbc6e2eaeccccecd23888bd14c10a2c384c280f (patch)
tree2744f9df2e824c33e4ef39e08bb10148205a7d4b
parent65f828c35261c46d848e9d789ccf29c2fe7127a8 (diff)
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>
-rw-r--r--net/ipv4/netfilter/iptable_security.c1
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)