aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-13 12:28:15 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-13 10:36:06 -0500
commit46456675ec1b7f93dadd2b1b4b58d763c3ae9266 (patch)
tree3b2c6dee8aaedea3dcdcf565a08a84099d13e343 /kernel
parentnet: Convert netlink_net_ops (diff)
downloadlinux-dev-46456675ec1b7f93dadd2b1b4b58d763c3ae9266.tar.xz
linux-dev-46456675ec1b7f93dadd2b1b4b58d763c3ae9266.zip
net: Convert rtnetlink_net_ops
rtnetlink_net_init() and rtnetlink_net_exit() create and destroy netlink socket net::rtnl. The socket is used to send rtnl notification via rtnl_net_notifyid(). There is no a problem to create and destroy it in parallel with other pernet operations, as we link net in setup_net() after the socket is created, and destroy in cleanup_net() after net is unhashed from all the lists and there is no RCU references on it. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Acked-by: Andrei Vagin <avagin@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions