ipvs: improved SH fallback strategy
authorAlexander Frolkin <avf@eldamar.org.uk>
Fri, 27 Sep 2013 10:06:23 +0000 (11:06 +0100)
committerSimon Horman <horms@verge.net.au>
Tue, 15 Oct 2013 01:54:50 +0000 (10:54 +0900)
commit1255ce5f10dbb4646c8d43b8d59faab48ae4a6b2
treee9246035c427a2d5ea7e494cc1e7b080a1c30d25
parent9e4e948a3edafd2b7f4dc14c395e146ffd0d9611
ipvs: improved SH fallback strategy

Improve the SH fallback realserver selection strategy.

With sh and sh-fallback, if a realserver is down, this attempts to
distribute the traffic that would have gone to that server evenly
among the remaining servers.

Signed-off-by: Alexander Frolkin <avf@eldamar.org.uk>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_sh.c