diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-02-19 11:50:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-19 14:19:12 -0500 |
commit | 4d6b80762b9384db3281f792a71746b388f395be (patch) | |
tree | 37735f6f3bb4537299475b90a6b5a925c002b2d0 /net/ipv4 | |
parent | 5fc094f5b8c9b8e5012b7ccf303be3b123563a58 (diff) | |
download | linux-4d6b80762b9384db3281f792a71746b388f395be.tar.gz linux-4d6b80762b9384db3281f792a71746b388f395be.tar.bz2 linux-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 'net/ipv4')
-rw-r--r-- | net/ipv4/netfilter/ip_tables.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c index 9a71f3149507..39a7cf9160e6 100644 --- a/net/ipv4/netfilter/ip_tables.c +++ b/net/ipv4/netfilter/ip_tables.c @@ -1911,6 +1911,7 @@ static void __net_exit ip_tables_net_exit(struct net *net) static struct pernet_operations ip_tables_net_ops = { .init = ip_tables_net_init, .exit = ip_tables_net_exit, + .async = true, }; static int __init ip_tables_init(void) |