diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-02-13 12:28:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-13 18:36:06 +0300 |
commit | 46456675ec1b7f93dadd2b1b4b58d763c3ae9266 (patch) | |
tree | 3b2c6dee8aaedea3dcdcf565a08a84099d13e343 /net/unix/af_unix.c | |
parent | 194b95d2166661f890dca5ef3b952c73622eb4e5 (diff) | |
download | linux-46456675ec1b7f93dadd2b1b4b58d763c3ae9266.tar.xz |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions