🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5755

Re: [PATCH net 03/10] ipvs: fix more races around the overload flag

#5755
From: Pablo Neira Ayuso
Date: Tue, 20 Oct 2026 22:06
27 lines
9571 bytes
On Tue, Oct 20, 2026 at 03:36:33PM +0000, netdev-bot+sashiko@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 3 potential
> issue(s) to consider.
> 
> Critical: 0 · High: 1 · Medium: 0 (1) · Low: 2
> 
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).
> 
> - [High] A threshold edit that moves a dest into the overloaded state can
>   race with the unbind of its last connection, and the clear is lost.
> - [Low] A new dest created with no thresholds (u_threshold == 0 and
>   l_threshold == 0) is published with u_threshold_val == 0 instead of…
> - [Low] The commit message and the comments do not match what the code
>   now does.
> 
> Pre-existing issues:
> - [Medium] This problem wasn't introduced by this patch, but on a cache
>   hit ip_vs_lblc_schedule() (net/netfilter/ipvs/ip_vs_lblc.c:509-511)…

According to what I discussed with Julian, this improves the
situation. He mentioned that the issues that are popping up in this
area of the code require more follow up fixes.
Technical Details
Message-ID: <atfmA3T8CceTq3CI@chamomile>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349618-linux-kernel-netdev=dewy.ru
References: <20261019150249.1879516-4-pablo@netfilter.org> <179251059359.3135.4423672797381402162@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349618-linux-kernel-netdev=dewy.ru
From: pablo@netfilter.org (Pablo Neira Ayuso)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 03/10] ipvs: fix more races around the overload flag
Date: Wed, 21 Oct 2026 00:06:59 +0200
Organization: Usenet Network
Message-ID: <atfmA3T8CceTq3CI@chamomile>
References: <20261019150249.1879516-4-pablo@netfilter.org>
 <179251059359.3135.4423672797381402162@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3976426"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:iyc/rDat4lFY3mlo63j2510Se3A= sha256:1F+Z47DLtI5dMqtZOUrQ3Cl27MI0CXDoH19nO9Y5WMU=
	sha1:IH20LqTxVENOM4xH1ZjeOyhWYFc= sha256:L66gSAwh46AWwAGPwxncCLr7VTymqmoCKAOoF7s4iEk=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 2F673110E2D; Wed, 21 Oct 2026 01:07:28 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=netfilter.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id zAIY0kjVVYDD;
	Wed, 21 Oct 2026 01:07:25 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-349618-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=netfilter.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 9CCF6110E7B; Wed, 21 Oct 2026 01:07:17 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 307A737E05; Tue, 20 Oct 2026 22:07:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail;
	t=1792534025;
	b=XdJM+E0g26G+LYp4ynuKbYI4ipVRA8T5HkhrLR9gAB5NgKE43KqP77BRyOM6spNJCDJQ
	 m6M3XlJu6Tm/2+8TBkB4OA0RgR3Lu3aAs9JdP0E2EziyLs588LimRELVp66499ryT3HG6
	 +miBsOJPQQA40LzN7B58c2QyQJIvbiM7hHRiyeNor/BD7s1kQ5BIsHzAQrDQ/YCxsc6jq
	 FazmcrWBHURbUgmvztJWEJvzsIA8PHSJr1h6itKKCe3aNCgbwW6zPQWOIRhOrWeqMmndj
	 oPFP6/q6YD2tdi2hNoKHWhtrop2z+YsCagsaimaqVuvgB/gE+8SetPZKMvXu/06iXSQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792534025;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=HqZa8GOL4ERbtWNaqqEoaaGHmV3+kGIVpIqSE1S9+fg=;
	b=hNJdUCqkDcUGH7DQKG0SHMP+dJkL6+BE7ACwbPiB1Z+UkFDnhCDanDIFQz7jJjYUXaOF
	 rd9la1LNwEx4mCz9Ja2cRBNK7YSmFMg4CuuSum01kI7c4HOLKBpGu0E/9R1XIL+SeWcZz
	 wlNaSrWrkei5q6e2m8PFw8dfVDMGOkzowpygme/HbFAYM86Aig9SOl0gb6ifZyqtkF73y
	 4igtX07RmWVvuoNXeX+XzbocinS2yZzur4qXJAmLAIejg3l+dRfRt8LdEbfv6D319eSOJ
	 4oxmJNa52Jbxsz2Sw05SK9oRWPQaFA1hhIF/Walb6ytnTVsk0XxowuLo8UAQj3pKuOQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=netfilter.org header.i=@netfilter.org header.a=rsa-sha256 header.s=2025 header.b="r/GGK4kE";
	dmarc=none header.from=netfilter.org;
	spf=pass smtp.mailfrom=netfilter.org;
	arc=fail smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 329E8606A329;
	Tue, 20 Oct 2026 22:07:05 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=netfilter.org header.i=@netfilter.org header.a=rsa-sha256 header.s=2025 header.b=r/GGK4kE
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=217.70.190.124
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792534024;
	b=v9rQyRWKPpU5tw4Hp+Y//t87vht8JtQ3wz5PKqQf7odk2Ob0wGqCRB/AL+wqIlgr0KHr
	 wurl/2vJmhtP3FK56Qb7n72haqJrszihqmaZ9FZ41fkiN8k+793hvtsaIxnv4fhxMyOQf
	 Rb8RqJRAdZO6XBKu4FKwyYVOUMj5cZtKooOp5OrU4RTOG5ExrxF5AhcaysnZMiMhmmzla
	 7e6tUaTV19sFocManRtuvu0UQYznD2jDbvpztPCTbTpANjvssyf2+9wgMeyyxqDs/tFI2
	 y0MqrC317nGIAg5hMYvcTOxLA1noiBn5I+6VXQK34YA423RFSK+Xj/eTd6TceGMPorA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792534024;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To:X-Spam-Status:
	 X-Spam-Checker-Version;
	bh=HqZa8GOL4ERbtWNaqqEoaaGHmV3+kGIVpIqSE1S9+fg=;
	b=a3kwpkEv12nqxQQbh+3xTOTMIU0VRRJZycz+OifYQZS+Y3zvOeHBmIxKMzPNsxIsl+W7
	 d2ZGQh0tDSCkxWnlFvJxK3Gicwu3eEHbiPIzR1wA+5SvGRLWuTk2rUqzYkbaYfCgloZ1u
	 sjH4BrPOJCRaGsYHFLpy2/9szYjpwGgNzk29r4Z/knIj+c9WGCz93/3nxmM+7Wz02edwL
	 N+7h2kKuGZgzKG9kzYLVp2v8O+nR3S+h0EfS47LjwGZEgrrgQJKvCj/ewcQMqVUH2n41d
	 tEfdKK19Ig5etY7IM93qxQDAJEYlFAUOxCdCzruihzh9YFnQkj13srqDrnp0abHY0hQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=none header.from=netfilter.org;
	spf=pass smtp.mailfrom=netfilter.org;
	dkim=pass header.d=netfilter.org header.i=@netfilter.org header.a=rsa-sha256 header.s=2025 header.b="r/GGK4kE";
	arc=none smtp.remote-ip=217.70.190.124
X-Received: from mail.netfilter.org (mail.netfilter.org [217.70.190.124])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with UTF8SMTPS id 784E2606A319;
	Tue, 20 Oct 2026 22:07:03 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 784E2606A319
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=netfilter.org
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=netfilter.org
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netfilter.org;
	s=2025; t=1792534021;
	bh=HqZa8GOL4ERbtWNaqqEoaaGHmV3+kGIVpIqSE1S9+fg=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=r/GGK4kEnYdfMvy35BWJwx7dqaAtfBtpjYJZ3IgVoE8KQnNDpcyIbA5v0CBQGlu9t
	 5xWXD4ut7NlerUNJfE1EH28qZ7/BsCb/v4LCZLT1XPTUleXYAUgaV7eJ66qTAjw8eI
	 V9kG5W0lTa5AtS0sgSsOBtRESoH/Q4nyHoBzwdU/iQfFt/BqNCy8F9Tb39Ff60KrCv
	 MrhbyDiXA6ka+yErTGGRbo8H/+C4jgpRYhoH/nCufIjmR3h3v5VctkK2gL1C9khDZp
	 peslGW/v2aP/sPZo+I2LTNKbndLfZmQ/XQeQk2FMCvN+WessPRCwd8Hq939tPj1bzb
	 /CRO4FZHNvVKA==
X-Received: from netfilter.org (mail-agni [217.70.190.124])
	by mail.netfilter.org (Postfix) with UTF8SMTPSA id 2FC1E60074;
	Wed, 21 Oct 2026 00:07:01 +0200 (CEST)
X-Cc: netfilter-devel@vger.kernel.org, davem@davemloft.net,
	netdev@vger.kernel.org, kuba@kernel.org, pabeni@redhat.com,
	edumazet@kernel.org, horms@kernel.org, fw@strlen.de, ja@ssi.bg
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <179251059359.3135.4423672797381402162@kernel.org>