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:
cb5e340
)
net: Convert ipv4_sysctl_ops
author
Kirill Tkhai
<ktkhai@virtuozzo.com>
Tue, 13 Feb 2018 09:30:18 +0000
(12:30 +0300)
committer
David S. Miller
<davem@davemloft.net>
Tue, 13 Feb 2018 15:36:09 +0000
(10:36 -0500)
These pernet_operations create and destroy sysctl,
which are not touched by anybody else.
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/ipv4/sysctl_net_ipv4.c
patch
|
blob
|
history
diff --git
a/net/ipv4/sysctl_net_ipv4.c
b/net/ipv4/sysctl_net_ipv4.c
index 93e172118a94d33297545135978c0ab6d21ad97b..89683d868b37132297fe8ad9d52180b0c9a0fbfe 100644
(file)
--- a/
net/ipv4/sysctl_net_ipv4.c
+++ b/
net/ipv4/sysctl_net_ipv4.c
@@
-1219,6
+1219,7
@@
static __net_exit void ipv4_sysctl_exit_net(struct net *net)
static __net_initdata struct pernet_operations ipv4_sysctl_ops = {
.init = ipv4_sysctl_init_net,
.exit = ipv4_sysctl_exit_net,
+ .async = true,
};
static __init int sysctl_ipv4_init(void)