From: Kirill Tkhai Date: Tue, 13 Feb 2018 09:29:42 +0000 (+0300) Subject: net: Convert sysctl_core_ops X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=232cf06c611f57ccb8e321de3fd850f21215ede8;p=linux.git net: Convert sysctl_core_ops These pernet_operations register and destroy sysctl directory, and it's not interesting for foreign pernet_operations. Signed-off-by: Kirill Tkhai Acked-by: Andrei Vagin Signed-off-by: David S. Miller --- diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c index f2d0462611c35..d714f65782b7c 100644 --- 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)