ipvs: make rerouting optional with snat_reroute
authorJulian Anastasov <ja@ssi.bg>
Tue, 21 Sep 2010 15:38:57 +0000 (17:38 +0200)
committerPatrick McHardy <kaber@trash.net>
Tue, 21 Sep 2010 15:38:57 +0000 (17:38 +0200)
Add new sysctl flag "snat_reroute". Recent kernels use
ip_route_me_harder() to route LVS-NAT responses properly by
VIP when there are multiple paths to client. But setups
that do not have alternative default routes can skip this
routing lookup by using snat_reroute=0.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Patrick McHardy <kaber@trash.net>

No differences found