]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ieee820154: 6lowpan: no longer reference init_net in lowpan_frags_ns_ctl_table
authorEric Dumazet <edumazet@google.com>
Fri, 24 May 2019 16:03:36 +0000 (09:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 May 2019 21:08:05 +0000 (14:08 -0700)
commitd2dfd43598f3ce5441daabc7b352cdfea811e021
tree03e768b4d81f54b5b1ce5628c54423602f0eafec
parent3bb13dd4cae022aab8bb7605bb5e3cc97e7523e0
ieee820154: 6lowpan: no longer reference init_net in lowpan_frags_ns_ctl_table

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

lowpan_frags_ns_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/ieee802154/6lowpan/reassembly.c