ipvs: Fix reuse connection if real server is dead
authorGrzegorz Lyczba <grzegorz.lyczba@gmail.com>
Mon, 13 May 2013 21:56:24 +0000 (23:56 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 27 May 2013 11:00:45 +0000 (13:00 +0200)
commitdc7b3eb900aab02e5cafbca3948d005be13fb4a5
tree3a5165ef23bea0089c6fe2bf41f069e8d17dc750
parent4f36ea6eed2081340c7a7aa98c73187ecfccebff
ipvs: Fix reuse connection if real server is dead

Expire cached connection for new TCP/SCTP connection if real
server is down. Otherwise, IPVS uses the dead server for the
reused connection, instead of a new working one.

Signed-off-by: Grzegorz Lyczba <grzegorz.lyczba@gmail.com>
Acked-by: Hans Schillstrom <hans@schillstrom.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipvs/ip_vs_core.c