From: Kirill Tkhai Date: Tue, 13 Feb 2018 09:29:03 +0000 (+0300) Subject: net: Convert fib_* pernet_operations, registered via subsys_initcall X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=86b63418fd382b095fdac4408fd565aa5da4b036;p=linux.git net: Convert fib_* pernet_operations, registered via subsys_initcall Both of them create and initialize lists, which are not touched by another foreing pernet_operations. Signed-off-by: Kirill Tkhai Acked-by: Andrei Vagin Signed-off-by: David S. Miller --- diff --git a/net/core/fib_notifier.c b/net/core/fib_notifier.c index 0c048bdeb0160..5ace0705a3f91 100644 --- a/net/core/fib_notifier.c +++ b/net/core/fib_notifier.c @@ -171,6 +171,7 @@ static void __net_exit fib_notifier_net_exit(struct net *net) static struct pernet_operations fib_notifier_net_ops = { .init = fib_notifier_net_init, .exit = fib_notifier_net_exit, + .async = true, }; static int __init fib_notifier_init(void) diff --git a/net/core/fib_rules.c b/net/core/fib_rules.c index 98e1066c3d551..cb071b8e8d17b 100644 --- a/net/core/fib_rules.c +++ b/net/core/fib_rules.c @@ -1030,6 +1030,7 @@ static void __net_exit fib_rules_net_exit(struct net *net) static struct pernet_operations fib_rules_net_ops = { .init = fib_rules_net_init, .exit = fib_rules_net_exit, + .async = true, }; static int __init fib_rules_init(void)