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

From: Pablo Neira Ayuso
Date: Mon Nov 08 2021 - 05:46:58 EST


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.