diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-02-13 12:29:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-13 10:36:08 -0500 |
commit | 232cf06c611f57ccb8e321de3fd850f21215ede8 (patch) | |
tree | b5d0ae4114c866e25f151492d34f53b56ccde81f | |
parent | 6c0075d0f6ccf5be4527408830852106808ab2bb (diff) | |
download | talos-obmc-linux-232cf06c611f57ccb8e321de3fd850f21215ede8.tar.gz talos-obmc-linux-232cf06c611f57ccb8e321de3fd850f21215ede8.zip |
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 <ktkhai@virtuozzo.com>
Acked-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/core/sysctl_net_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c index f2d0462611c3..d714f65782b7 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) |