From: Kirill Tkhai Date: Wed, 7 Mar 2018 09:41:07 +0000 (+0300) Subject: net: Convert iptable_security_net_ops X-Git-Tag: v4.17-rc1~148^2~250^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8dbc6e2eaeccccecd23888bd14c10a2c384c280f;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: David S. Miller --- diff --git a/net/ipv4/netfilter/iptable_security.c b/net/ipv4/netfilter/iptable_security.c index e5379fe57b641..c40d6b3d8b6a0 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)