netfilter: Push struct net down into nf_afinfo.reroute
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 25 Sep 2015 20:07:28 +0000 (15:07 -0500)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 29 Sep 2015 18:21:31 +0000 (20:21 +0200)
commitd815d90bbbc08777c0e3a36f57b97fc4a4fb3150
tree7a6023284402d55682d5ea60d7cc1ad866daaf95
parent372892ec1151c895c7dec362f3246f089690cfc7
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>
include/linux/netfilter.h
net/ipv4/netfilter.c
net/ipv6/netfilter.c
net/netfilter/nf_queue.c