]> err.no Git - linux-2.6/commit
[NETFILTER]: Honour source routing for LVS-NAT
authorSimon Horman <horms@verge.net.au>
Mon, 2 Oct 2006 23:11:51 +0000 (16:11 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 4 Oct 2006 07:30:55 +0000 (00:30 -0700)
commit901eaf6c8f997f18ebc8fcbb85411c79161ab3b2
treedf89efba8165e790992bfe24c60f883c69e5805f
parentb4c4ed175ff0ee816df48571cfa9b73f521964b6
[NETFILTER]: Honour source routing for LVS-NAT

For policy routing, packets originating from this machine itself may be
routed differently to packets passing through. We want this packet to be
routed as if it came from this machine itself. So re-compute the routing
information using ip_route_me_harder().

This patch is derived from work by Ken Brownfield

Cc: Ken Brownfield <krb@irridia.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipvs/ip_vs_core.c