netfilter: ip6table_mangle: don't reroute in LOCAL_IN
authorPatrick McHardy <kaber@trash.net>
Tue, 24 Jun 2008 20:30:45 +0000 (13:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jun 2008 20:30:45 +0000 (13:30 -0700)
commit88a6f4ad76be425f47df7f892baf913bcd466fb3
tree105b5d30f1dd6bb931acf5dc14b6c186c3108acf
parentb9f75f45a6b46a0ab4eb0857d437a0845871f314
netfilter: ip6table_mangle: don't reroute in LOCAL_IN

Rerouting should only happen in LOCAL_OUT, in INPUT its useless
since the packet has already chosen its final destination.

Noticed by Alexey Dobriyan <adobriyan@gmail.com>.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/netfilter/ip6table_mangle.c