aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-13 12:28:44 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-13 10:36:07 -0500
commit36b0068e6c9892aa4757d4fa08fd14fbba72b3b3 (patch)
tree1a12ae8bbadc6eed3417cae8de9eada4cc831e5b /net
parentnet: Convert uevent_net_ops (diff)
downloadlinux-dev-36b0068e6c9892aa4757d4fa08fd14fbba72b3b3.tar.xz
linux-dev-36b0068e6c9892aa4757d4fa08fd14fbba72b3b3.zip
net: Convert proto_net_ops
This patch starts to convert pernet_subsys, registered from subsys initcalls. It seems safe to be executed in parallel with others, as it's only creates/destoyes proc entry, which nobody else is not interested in. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Acked-by: Andrei Vagin <avagin@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/sock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/sock.c b/net/core/sock.c
index f2bf69b86c58..e90d461748f0 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -3386,6 +3386,7 @@ static __net_exit void proto_exit_net(struct net *net)
static __net_initdata struct pernet_operations proto_net_ops = {
.init = proto_init_net,
.exit = proto_exit_net,
+ .async = true,
};
static int __init proto_init(void)