From: Kirill Tkhai Date: Tue, 13 Feb 2018 09:30:52 +0000 (+0300) Subject: net: Convert diag_net_ops X-Git-Tag: v4.19~1326^2~446^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59a513587ac09359875d6074778f21a3c01754e0;p=platform%2Fkernel%2Flinux-rpi.git net: Convert diag_net_ops These pernet operations just create and destroy netlink socket. The socket is pernet and else operations don't touch it. Signed-off-by: Kirill Tkhai Acked-by: Andrei Vagin Signed-off-by: David S. Miller --- diff --git a/net/core/sock_diag.c b/net/core/sock_diag.c index 146b50e..aee5642 100644 --- a/net/core/sock_diag.c +++ b/net/core/sock_diag.c @@ -328,6 +328,7 @@ static void __net_exit diag_net_exit(struct net *net) static struct pernet_operations diag_net_ops = { .init = diag_net_init, .exit = diag_net_exit, + .async = true, }; static int __init sock_diag_init(void)