Linux Kernel Selftest development
 help / color / mirror / Atom feed
From: Hangbin Liu <hangbin.liu@linux.dev>
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
Date: Thu, 3 Dec 2026 16:39:30 +0800	[thread overview]
Message-ID: <axEqwoKBn16RFXBz@fedora> (raw)
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

  reply	other threads:[~2026-12-03  8:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  6:29 [PATCH net v2 0/3] bonding: ignore updelay when no active links for broadcast mode Hangbin Liu
2026-12-01  6:29 ` [PATCH net v2 1/3] Revert "bonding: do not set usable_slaves for broadcast mode" Hangbin Liu
2026-12-03  6:29   ` netdev-bot+sashiko
2026-12-03  7:51     ` Hangbin Liu
2026-12-01  6:29 ` [PATCH net v2 2/3] bonding: update slave array on link change for broadcast mode Hangbin Liu
2026-12-03  6:29   ` netdev-bot+sashiko
2026-12-03  8:39     ` Hangbin Liu [this message]
2026-12-01  6:29 ` [PATCH net v2 3/3] selftests: bonding: add recovery updelay test " Hangbin Liu
2026-12-03  6:29   ` netdev-bot+sashiko
2026-12-01  6:34 ` [PATCH net v2 0/3] bonding: ignore updelay when no active links " netdev-bot+sinfo
2026-12-01  8:38   ` Hangbin Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=axEqwoKBn16RFXBz@fedora \
    --to=hangbin.liu@linux.dev \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=jiangjiehua1@huawei.com \
    --cc=jv@jvosburgh.net \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=netdev-bot+sashiko@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=razor@blackwall.org \
    --cc=shuah@kernel.org \
    --cc=tonghao@bamaicloud.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox