From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=95.215.58.139 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796287188; b=lRV/s8b/vLN2n/BLrwji708BG3WdAOv6we0zuXFEoRcZJR5snmeJ1oZQwAosabvUybhC uRqU/5cUdn2kQ7Sd50/8pysoY3fz4UW2+kcm0nRXd7sKwdtwTj6IhWi9ZusFTd12BjQz2 YE04skGvva9xIYc1RXHwm1t9RgkZB0Adzn+5lO+WnF7C1r3pLmWjbY1HniB2vvqw23pv9 ZlGkYA+3QyEWsmz/LYHt+10WMwB9LNVyoC1wwL++e4DQrqxbosFlRWzN5gbewstKHPIuh /8oQD6Axs3nuUfxhhfwfTG1YlRf0FraP3bc9d1IPCxf2JTRcCOq/cvnSZKMHEPkHBNQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796287188; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=yOCAr2J64GhKuiMe/l+C6PLBgdjYnwIpdRihuoX0BXA=; b=GPLloBJH6Tn/IDuu8lb9LGTIChmnM8j2uURpZD0p2QveM8YOmr4rMEtLiyAzbObm8Zfe XHXmYhqQssAqENTeLeJaSgDkeRvFNG9M8WRFQIKJI/HoOm3qz8/HMbs8zKR5a9ghqT4Nq c4V7ttgqJfqDDHS7aEM4iBHDmkA8uy04jBgr9ZBQJO7RhBLjXOil+CEvrBAP3FBH2XZzp 7fqtfXq2pUDkpe4ygpntYBByOD6nPU8PEonIoNFV39/NWP5xZBFm1/9OXmAUZGA5lXE2S 3QC52QCV8JGR2+2XD6lspjeZWLt/1QWfySDveTGH/VcJVF4i+o+pb5tTpFgO3A5kulA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=SSNsMGQ9; arc=none smtp.remote-ip=95.215.58.139 Received: from mta1.migadu.com (out-139.mta1.migadu.com [95.215.58.139]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 62593606A32D for ; Thu, 3 Dec 2026 08:39:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 62593606A32D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=SSNsMGQ9 X-Envelope-To: netdev@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=wN0xHqpy8bJPuQp/5RJNflEDED+QJXrsV9adSEeGsxU=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1796287185; v=1; x=1796891985; b=SSNsMGQ9At/c+hqgkidR3gm2mUfuaKEu4J80lQzELuy34A+J7tRYo3A37tFfu2vAj7Qe9Dq/ DfBdlCRKKMcjnD/Wt4QkFtzQkzJ4Z1f8P1Z1DuQLGgXvgySXEexBd0eELUPjkI5bglsJT+O9d0d KWmIN7gWFeY+SuM+hdsD1p/U= X-Envelope-To: netdev@vger.kernel.org Received: by mta12.migadu.com with ESMTPS id 11a3384faef43118; Thu, 03 Dec 2026 08:39:45 +0000 X-Mizu-Trace-ID: 11a3384faef43118 X-Migadu-Flow: FLOW_OUT Date: Thu, 3 Dec 2026 16:39:30 +0800 From: Hangbin Liu To: netdev-bot+sashiko@kernel.org Cc: jv@jvosburgh.net, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, tonghao@bamaicloud.com, razor@blackwall.org, shuah@kernel.org, jiangjiehua1@huawei.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH net v2 2/3] bonding: update slave array on link change for broadcast mode Message-ID: References: <20261201-bond_broadcast_updelay-v2-2-969e1844f2c4@kylinos.cn> <179627939278.3146.9699110701797983880@kernel.org> X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <179627939278.3146.9699110701797983880@kernel.org> On Thu, Dec 03, 2026 at 06:29:52AM +0000, netdev-bot+sashiko@kernel.org wrote: > Thank you for your contribution! Sashiko AI review found 2 potential > issue(s) to consider. > > Critical: 0 · High: 0 · Medium: 2 (2) · Low: 0 (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). > > - [Medium] In balance-rr, updelay is ignored for good after the bond has > been switched from broadcast mode. This issue has been noted in the commit description. > - [Medium] bonding: stale usable_slaves in bond_change_active_slave() on > LINK_BACK promotion This is a valid concern. I'm think maybe we should remove usable arrays for broadcast other than all these followup patches. > > Pre-existing issues: > - [Medium] This problem wasn't introduced by this patch, but ALB mode and > TLB with tlb_dynamic_lb=1 have the same stale usable_slaves problem… > - [Medium] This problem wasn't introduced by this patch, but balance-rr > never implements the rule in bonding.rst section 13.1 ('when a bonding… > - [Low] This problem wasn't introduced by this patch, but two comments > are stale. > - [Low] This problem wasn't introduced by this patch, but > bond_miimon_inspect() reads usable_slaves->count with a plain load… I will add these on my todo list. Thanks Hangbin