diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-09-18 22:33:07 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-09-18 23:00:22 +0300 |
commit | c7af6483b9f7f3eaba01b2e62d3d8a70cd89bdaf (patch) | |
tree | 563c22add4d06bfda2d87995c6b84d75c1a5ab31 /include/net/netfilter/nf_nat_core.h | |
parent | 06198b34a3e09e06d9aecaa3727e0d37206cea77 (diff) | |
download | linux-c7af6483b9f7f3eaba01b2e62d3d8a70cd89bdaf.tar.xz |
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>
Diffstat (limited to 'include/net/netfilter/nf_nat_core.h')
-rw-r--r-- | include/net/netfilter/nf_nat_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netfilter/nf_nat_core.h b/include/net/netfilter/nf_nat_core.h index fbfd1ba4254e..186c54138f35 100644 --- a/include/net/netfilter/nf_nat_core.h +++ b/include/net/netfilter/nf_nat_core.h @@ -10,7 +10,7 @@ unsigned int nf_nat_packet(struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int hooknum, struct sk_buff *skb); -int nf_xfrm_me_harder(struct sk_buff *skb, unsigned int family); +int nf_xfrm_me_harder(struct net *net, struct sk_buff *skb, unsigned int family); static inline int nf_nat_initialized(struct nf_conn *ct, enum nf_nat_manip_type manip) |