netfilter: Pass net into nf_xfrm_me_harder
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 18 Sep 2015 19:33:07 +0000 (14:33 -0500)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 18 Sep 2015 20:00:22 +0000 (22:00 +0200)
commitc7af6483b9f7f3eaba01b2e62d3d8a70cd89bdaf
tree563c22add4d06bfda2d87995c6b84d75c1a5ab31
parent06198b34a3e09e06d9aecaa3727e0d37206cea77
netfilter: Pass net into nf_xfrm_me_harder

Instead of calling dev_net on a likley looking network device
pass state->net into nf_xfrm_me_harder.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_nat_core.h
net/ipv4/netfilter/nf_nat_l3proto_ipv4.c
net/ipv6/netfilter/nf_nat_l3proto_ipv6.c
net/netfilter/nf_nat_core.c