From: Kirill Tkhai Date: Wed, 7 Mar 2018 09:39:14 +0000 (+0300) Subject: net: Convert xfrm_user_net_ops X-Git-Tag: Ubuntu-5.2.0-15.16~4716^2~250^2~14 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=649b9826cc733fe410207d28d94984354e023b21;p=mirror_ubuntu-eoan-kernel.git net: Convert xfrm_user_net_ops These pernet_operations create and destroy net::xfrm::nlsk socket of NETLINK_XFRM. There is only entry point, where it's dereferenced, it's xfrm_user_rcv_msg(). There is no in-kernel senders to this socket. Signed-off-by: Kirill Tkhai Signed-off-by: David S. Miller --- diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index 7f52b8eb177d..aff2e84ec761 100644 --- a/net/xfrm/xfrm_user.c +++ b/net/xfrm/xfrm_user.c @@ -3258,6 +3258,7 @@ static void __net_exit xfrm_user_net_exit(struct list_head *net_exit_list) static struct pernet_operations xfrm_user_net_ops = { .init = xfrm_user_net_init, .exit_batch = xfrm_user_net_exit, + .async = true, }; static int __init xfrm_user_init(void)