projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c0075d
)
net: Convert sysctl_core_ops
author
Kirill Tkhai
<ktkhai@virtuozzo.com>
Tue, 13 Feb 2018 09:29:42 +0000
(12:29 +0300)
committer
David S. Miller
<davem@davemloft.net>
Tue, 13 Feb 2018 15:36:08 +0000
(10:36 -0500)
These pernet_operations register and destroy sysctl
directory, and it's not interesting for foreign
pernet_operations.
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Acked-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sysctl_net_core.c
patch
|
blob
|
history
diff --git
a/net/core/sysctl_net_core.c
b/net/core/sysctl_net_core.c
index
f2d0462
..
d714f65
100644
(file)
--- a/
net/core/sysctl_net_core.c
+++ b/
net/core/sysctl_net_core.c
@@
-572,6
+572,7
@@
static __net_exit void sysctl_core_net_exit(struct net *net)
static __net_initdata struct pernet_operations sysctl_core_ops = {
.init = sysctl_core_net_init,
.exit = sysctl_core_net_exit,
+ .async = true,
};
static __init int sysctl_core_init(void)