net: Convert xfrm_user_net_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Wed, 7 Mar 2018 09:39:14 +0000 (12:39 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Mar 2018 17:36:43 +0000 (12:36 -0500)
commit649b9826cc733fe410207d28d94984354e023b21
tree2f3e7433864d69123332f07e29ad53bc8a1f1936
parent997266a4a02de882de11c7abecad0a3a42ac84b3
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 <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_user.c