ipv6: no longer reference init_net in ip6_frags_ns_ctl_table[]
authorEric Dumazet <edumazet@google.com>
Fri, 24 May 2019 16:03:34 +0000 (09:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 May 2019 21:08:05 +0000 (14:08 -0700)
commit8668d0e2bfdfe3ab85c3bbc45ad2e60ed2dca71c
treedc976c17ff5e825e4b440b5bcf3f4c0d214adc1d
parent8dfdb31335ee5aa99c30bbfd37294844a7ffb648
ipv6: no longer reference init_net in ip6_frags_ns_ctl_table[]

(struct net *)->ipv6.fqdir will soon be a pointer, so make
sure ip6_frags_ns_ctl_table[] does not reference init_net.

ip6_frags_ns_ctl_register() can perform the needed initialization
for all netns.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/reassembly.c