From: Kirill Tkhai Date: Tue, 13 Feb 2018 09:27:51 +0000 (+0300) Subject: net: Convert net_defaults_ops X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ff291d005a988aaa7d73daf44c3d04585e9f0637;p=linux.git net: Convert net_defaults_ops net_defaults_ops introduce only net_defaults_init_net method, and it acts on net::core::sysctl_somaxconn, which is not interesting for the rest of pernet_subsys and pernet_device lists. Then, make them async. Signed-off-by: Kirill Tkhai Acked-by: Andrei Vagin Signed-off-by: David S. Miller --- diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c index e21c564c8c00d..bcab9a938d6f3 100644 --- a/net/core/net_namespace.c +++ b/net/core/net_namespace.c @@ -340,6 +340,7 @@ static int __net_init net_defaults_init_net(struct net *net) static struct pernet_operations net_defaults_ops = { .init = net_defaults_init_net, + .async = true, }; static __init int net_defaults_init(void)