From: Kirill Tkhai Date: Mon, 19 Feb 2018 08:49:59 +0000 (+0300) Subject: net: Convert ping_v6_net_ops X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ac34cb6c0c4d327d69e588d7a42bbc6428e2fdfd;p=linux.git 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 Signed-off-by: David S. Miller --- diff --git a/net/ipv6/ping.c b/net/ipv6/ping.c index d12c55dad7d14..318c6e9142345 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