aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/x_tables.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-19 11:50:45 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-19 14:19:12 -0500
commit4d6b80762b9384db3281f792a71746b388f395be (patch)
tree37735f6f3bb4537299475b90a6b5a925c002b2d0 /net/netfilter/x_tables.c
parentnet: Convert ip6_frags_ops (diff)
downloadlinux-dev-4d6b80762b9384db3281f792a71746b388f395be.tar.xz
linux-dev-4d6b80762b9384db3281f792a71746b388f395be.zip
net: Convert ip_tables_net_ops, udplite6_net_ops and xt_net_ops
ip_tables_net_ops and udplite6_net_ops create and destroy /proc entries. xt_net_ops does nothing. So, we are able to mark them async. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/netfilter/x_tables.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/x_tables.c b/net/netfilter/x_tables.c
index 2f685ee1f9c8..a6a435d7c8f4 100644
--- a/net/netfilter/x_tables.c
+++ b/net/netfilter/x_tables.c
@@ -1765,6 +1765,7 @@ static void __net_exit xt_net_exit(struct net *net)
static struct pernet_operations xt_net_ops = {
.init = xt_net_init,
.exit = xt_net_exit,
+ .async = true,
};
static int __init xt_init(void)