Files
linux/net/netfilter/ipvs
yangxingwu 0dc62d3d6b netfilter: ipvs: Fix reuse connection if RS weight is 0
[ Upstream commit c95c07836f ]

We are changing expire_nodest_conn to work even for reused connections when
conn_reuse_mode=0, just as what was done with commit dc7b3eb900 ("ipvs:
Fix reuse connection if real server is dead").

For controlled and persistent connections, the new connection will get the
needed real server depending on the rules in ip_vs_check_template().

Fixes: d752c36457 ("ipvs: allow rescheduling of new connections when port reuse is detected")
Co-developed-by: Chuanqi Liu <legend050709@qq.com>
Signed-off-by: Chuanqi Liu <legend050709@qq.com>
Signed-off-by: yangxingwu <xingwu.yang@gmail.com>
Acked-by: Simon Horman <horms@verge.net.au>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-12-01 09:27:41 +01:00
..
2018-06-01 14:01:54 +02:00
2017-03-17 12:49:43 +01:00
2015-08-21 09:08:39 -07:00
2017-03-17 12:49:43 +01:00
2017-03-17 12:49:43 +01:00
2017-03-17 12:49:43 +01:00
2017-03-17 12:49:43 +01:00
2019-03-23 20:09:45 +01:00