ipv4: Make Netfilter's ip_route_me_harder() non-local address compatible
authorKOVACS Krisztian <hidden@sch.bme.hu>
Wed, 1 Oct 2008 14:44:42 +0000 (07:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Oct 2008 14:44:42 +0000 (07:44 -0700)
commit86b08d867d7de001ab224180ed7865fab93fd56e
treefc081a9ec0d0107f951cc0270da2865e1e3413e2
parent88ef4a5a78e63420dd1dd770f1bd1dc198926b04
ipv4: Make Netfilter's ip_route_me_harder() non-local address compatible

Netfilter's ip_route_me_harder() tries to re-route packets either
generated or re-routed by Netfilter. This patch changes
ip_route_me_harder() to handle packets from non-locally-bound sockets
with IP_TRANSPARENT set as local and to set the appropriate flowi
flags when re-doing the routing lookup.

Signed-off-by: KOVACS Krisztian <hidden@sch.bme.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h
net/ipv4/inet_connection_sock.c
net/ipv4/ip_output.c
net/ipv4/netfilter.c
net/ipv4/syncookies.c