From: Kirill Tkhai Date: Tue, 13 Feb 2018 09:28:44 +0000 (+0300) Subject: net: Convert proto_net_ops X-Git-Tag: v4.19~1326^2~446^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=36b0068e6c9892aa4757d4fa08fd14fbba72b3b3;p=platform%2Fkernel%2Flinux-rpi3.git 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 Acked-by: Andrei Vagin Signed-off-by: David S. Miller --- diff --git a/net/core/sock.c b/net/core/sock.c index f2bf69b..e90d461 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)