netfilter: ipv6: nf_defrag: no longer reference init_net in nf_ct_frag6_sysctl_table
authorEric Dumazet <edumazet@google.com>
Fri, 24 May 2019 16:03:35 +0000 (09:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 May 2019 21:08:05 +0000 (14:08 -0700)
commit3bb13dd4cae022aab8bb7605bb5e3cc97e7523e0
treeef1dc8218808cfbebb1be8054e534bf808a5a740
parent8668d0e2bfdfe3ab85c3bbc45ad2e60ed2dca71c
netfilter: ipv6: nf_defrag: no longer reference init_net in nf_ct_frag6_sysctl_table

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

nf_ct_frag6_sysctl_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/netfilter/nf_conntrack_reasm.c