]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbeb27faf4a561e1eafe524887f1e9b0e9f2bf882
tree7a6023284402d55682d5ea60d7cc1ad866daaf95
parent7a17f326bd304c8c6b4285a7c310476c74e37793
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