From: Pablo Neira Ayuso Subject: Re: [PATCH nf-next v6] netfilter: ipvs: Fix reuse connection if RS weight is 0 Date: Mon, 8 Nov 2021 11:46:49 +0100 Message-ID: References: <20211104031029.157366-1-xingwu.yang@gmail.com> <20211104140401.GA16560@vergenet.net> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20211104140401.GA16560@vergenet.net> List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Simon Horman Cc: yangxingwu , ja@ssi.bg, kadlec@netfilter.org, fw@strlen.de, davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, lvs-devel@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, corbet@lwn.net, Chuanqi Liu 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 > > Signed-off-by: Chuanqi Liu > > Signed-off-by: yangxingwu > > Acked-by: Simon Horman > > (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.