diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-02-19 11:49:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-19 14:19:11 -0500 |
commit | ac34cb6c0c4d327d69e588d7a42bbc6428e2fdfd (patch) | |
tree | 363f471250db63060c04041cf421c9dd8e423167 /net/ipv6 | |
parent | 58708caef56b04da2c91d6aaba49c783f22055c2 (diff) |
net: Convert ping_v6_net_ops
These pernet_operations only register and unregister /proc
entries, so it's possible 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/ipv6')
-rw-r--r-- | net/ipv6/ping.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/ping.c b/net/ipv6/ping.c index d12c55dad7d1..318c6e914234 100644 --- a/net/ipv6/ping.c +++ b/net/ipv6/ping.c @@ -240,6 +240,7 @@ static void __net_init ping_v6_proc_exit_net(struct net *net) static struct pernet_operations ping_v6_net_ops = { .init = ping_v6_proc_init_net, .exit = ping_v6_proc_exit_net, + .async = true, }; #endif |