Skip to content
Commit c95c0783 authored by yangxingwu's avatar yangxingwu Committed by Pablo Neira Ayuso
Browse files

netfilter: ipvs: Fix reuse connection if RS weight is 0

We are changing expire_nodest_conn to work even for reused connections when
conn_reuse_mode=0, just as what was done with commit dc7b3eb9 ("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: d752c364

 ("ipvs: allow rescheduling of new connections when port reuse is detected")
Co-developed-by: default avatarChuanqi Liu <legend050709@qq.com>
Signed-off-by: default avatarChuanqi Liu <legend050709@qq.com>
Signed-off-by: default avataryangxingwu <xingwu.yang@gmail.com>
Acked-by: default avatarSimon Horman <horms@verge.net.au>
Acked-by: default avatarJulian Anastasov <ja@ssi.bg>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 77522ff0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment