net: dev_forward_skb should call nf_reset
authorBen Greear <greearb@candelatech.com>
Thu, 22 Jul 2010 09:54:47 +0000 (09:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jul 2010 04:58:46 +0000 (21:58 -0700)
commitc736eefadb71a01a5e61e0de700f28f6952b4444
treed6a7cb06755e24bb5a1a44b68802577c1ca303d8
parent3b87956ea645fb4de7e59c7d0aa94de04be72615
net: dev_forward_skb should call nf_reset

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>
net/core/dev.c