LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [PATCH nf-next v6] netfilter: ipvs: Fix reuse connection if RS weigh

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: Re: [PATCH nf-next v6] netfilter: ipvs: Fix reuse connection if RS weight is 0
Cc: yangxingwu <xingwu.yang@xxxxxxxxx>, ja@xxxxxx, kadlec@xxxxxxxxxxxxx, fw@xxxxxxxxx, davem@xxxxxxxxxxxxx, kuba@xxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, lvs-devel@xxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxx, coreteam@xxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-doc@xxxxxxxxxxxxxxx, corbet@xxxxxxx, Chuanqi Liu <legend050709@xxxxxx>
From: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
Date: Mon, 8 Nov 2021 11:46:49 +0100
On Thu, Nov 04, 2021 at 03:04:04PM +0100, Simon Horman wrote:
> On Thu, Nov 04, 2021 at 11:10:29AM +0800, yangxingwu wrote:
> > We are changing expire_nodest_conn to work even for reused connections when
> > conn_reuse_mode=0, just as what was done with commit dc7b3eb900aa ("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: d752c3645717 ("ipvs: allow rescheduling of new connections when port 
> > reuse is detected")
> > Co-developed-by: Chuanqi Liu <legend050709@xxxxxx>
> > Signed-off-by: Chuanqi Liu <legend050709@xxxxxx>
> > Signed-off-by: yangxingwu <xingwu.yang@xxxxxxxxx>
> 
> Acked-by: Simon Horman <horms@xxxxxxxxxxxx>
> 
> (v5 was acked by Julian, probably that can be propagated here)
> 
> Pablo, please consider this for nf-next at your convenience.

Applied this fix to nf, thanks.

<Prev in Thread] Current Thread [Next in Thread>