net: dev_forward_skb should call nf_reset
commit47dbdd885639768ae1889e4317f2dc0bb25cc8ac
authorBen Greear <greearb@candelatech.com>
Thu, 22 Jul 2010 09:54:47 +0000 (22 09:54 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Aug 2010 23:43:45 +0000 (26 16:43 -0700)
tree63479a65e97cc158b0d62198d6031f9ef6c2fc05
parent2afc67ed4d15ae5f82327aa426dfe2366d57c5e5
net: dev_forward_skb should call nf_reset

[ Upstream commit c736eefadb71a01a5e61e0de700f28f6952b4444 ]

With conn-track zones and probably with different network
namespaces, the netfilter logic needs to be re-calculated
on packet receive.  If the netfilter logic is not reset,
it will not be recalculated properly.  This patch adds
the nf_reset logic to dev_forward_skb.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/core/dev.c