ipv4: no longer reference init_net in ip4_frags_ns_ctl_table[]
authorEric Dumazet <edumazet@google.com>
Fri, 24 May 2019 16:03:33 +0000 (09:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 May 2019 21:08:05 +0000 (14:08 -0700)
commit8dfdb31335ee5aa99c30bbfd37294844a7ffb648
treea326268b630abd4f5c78a46cd6641b41c9aa17d7
parent803fdd99684714b3cdcbed4364473d41abbd6afe
ipv4: no longer reference init_net in ip4_frags_ns_ctl_table[]

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

ip4_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/ipv4/ip_fragment.c