projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58708ca
)
net: Convert ping_v6_net_ops
author
Kirill Tkhai
<ktkhai@virtuozzo.com>
Mon, 19 Feb 2018 08:49:59 +0000
(11:49 +0300)
committer
David S. Miller
<davem@davemloft.net>
Mon, 19 Feb 2018 19:19:11 +0000
(14:19 -0500)
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>
net/ipv6/ping.c
patch
|
blob
|
history
diff --git
a/net/ipv6/ping.c
b/net/ipv6/ping.c
index d12c55dad7d141e632a6407a58eeeefe57c6b7c3..318c6e9142345bf77da632238c644195093fa5d7 100644
(file)
--- 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