summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_flowlabel.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-19 09:48:57 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-19 20:19:10 +0100
commit1a2e93329dd413585798c122aac0607093b2d379 (patch)
treed0bc1140701a0ccde4eace06347c9ef59f87819a /net/ipv6/ip6_flowlabel.c
parentnet: Convert ip6mr_net_ops (diff)
downloadlinux-1a2e93329dd413585798c122aac0607093b2d379.tar.xz
linux-1a2e93329dd413585798c122aac0607093b2d379.zip
net: Convert icmpv6_sk_ops, ndisc_net_ops and igmp6_net_ops
These pernet_operations create and destroy net::ipv6.icmp_sk socket, used to send ICMP or error reply. Nobody can dereference the socket to handle a packet before net is initialized, as there is no routing; nobody can do that in parallel with exit, as all of devices are moved to init_net or destroyed and there are no packets it-flight. So, it's possible to mark these pernet_operations as async. The same for ndisc_net_ops and for igmp6_net_ops. The last one also creates and destroys /proc entries. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_flowlabel.c')
0 files changed, 0 insertions, 0 deletions