diff options
author | 2015-09-25 15:07:28 -0500 | |
---|---|---|
committer | 2015-09-29 20:21:31 +0200 | |
commit | d815d90bbbc08777c0e3a36f57b97fc4a4fb3150 (patch) | |
tree | 7a6023284402d55682d5ea60d7cc1ad866daaf95 /net/ipv6/netfilter.c | |
parent | ipv4: Push struct net down into nf_send_reset (diff) | |
download | linux-d815d90bbbc08777c0e3a36f57b97fc4a4fb3150.tar.gz linux-d815d90bbbc08777c0e3a36f57b97fc4a4fb3150.tar.bz2 linux-d815d90bbbc08777c0e3a36f57b97fc4a4fb3150.zip |
netfilter: Push struct net down into nf_afinfo.reroute
The network namespace is needed when routing a packet.
Stop making nf_afinfo.reroute guess which network namespace
is the proper namespace to route the packet in.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6/netfilter.c')
-rw-r--r-- | net/ipv6/netfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/netfilter.c b/net/ipv6/netfilter.c index b4de08a83e0b..26911b93dc7a 100644 --- a/net/ipv6/netfilter.c +++ b/net/ipv6/netfilter.c @@ -93,7 +93,7 @@ static void nf_ip6_saveroute(const struct sk_buff *skb, } } -static int nf_ip6_reroute(struct sk_buff *skb, +static int nf_ip6_reroute(struct net *net, struct sk_buff *skb, const struct nf_queue_entry *entry) { struct ip6_rt_info *rt_info = nf_queue_entry_reroute(entry); |