netfilter: Use nf_ct_net instead of dev_net(out) in nf_nat_masquerade_ipv6
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 18 Sep 2015 19:33:08 +0000 (14:33 -0500)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 18 Sep 2015 20:00:28 +0000 (22:00 +0200)
commit0a031ac5c00d091ce1f7007f22d5881620bf0a7e
treeebdf75ea142a3b25b707ab72819eba073eeac822
parentc7af6483b9f7f3eaba01b2e62d3d8a70cd89bdaf
netfilter: Use nf_ct_net instead of dev_net(out) in nf_nat_masquerade_ipv6

Use nf_ct_net(ct) instead of guessing that the netdevice out can
reliably report the network namespace the conntrack operation is
happening in.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv6/netfilter/nf_nat_masquerade_ipv6.c