Преглед на файлове

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>
Kirill Tkhai преди 7 години
родител
ревизия
ac34cb6c0c
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      net/ipv6/ping.c

+ 1 - 0
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