Hi Paolo,
On Wed, Dec 02, 2026 at 10:35:53AM +0100, Paolo Abeni wrote:
> On 11/24/26 13:38, netd…@kernel.org wrote:
> > Hi!
> >
> > This is an automated message. This series looks like a fix, but its
> > commit messages seem to be missing some information:
> >
> > - How the issue was discovered, e.g. hit in production, hit during
> > development, syzbot report, manual code inspection, LLM or static
> > analysis tool scan.
> >
> > - Whether the issue was actually triggered, or is only theoretical
> > (e.g. found by LLM and not proven at runtime). If it was triggered
> > please include the symptoms, like the stack trace or kernel messages.
> >
> > Please do not repost the series just to address the above. Instead,
> > reply to this email with the missing information, so that reviewers
> > can take it into account.
> >
> > *IMPORTANT*: If you do repost (for other reasons) - please include
> > the relevant info in the cover letter or commit messages.
>
> Please answer the above questions.
Oh, I thought this is only for fixes to net.
The issue is discovered when I tried to restruct bond_enslave().
It could be reproduced via
bash-5.3# ip link add wg0 type wireguard
bash-5.3# ip link add bond0 type bond mode active-backup
bash-5.3# ip link set bond0 xdpdrv obj xdp_dummy.bpf.o sec xdp
bash-5.3# ip -d -j -p link show bond0 | grep fail_over_mac
"fail_over_mac": "none",
bash-5.3# ip link set wg0 master bond0
Error: Slave does not support XDP.
bash-5.3# ip -d -j -p link show bond0 | grep fail_over_mac
"fail_over_mac": "active",
After the patch, the fail_over_mac will not be changed by a failed enslave.
bash-5.3# ip -d -j -p link show bond0 | grep fail_over_mac
"fail_over_mac": "none",
> Also any changes to have this scenario covered by self-tests?
We generally try our best to avoid failures during enslavement, since we have
a lot of rollback work to handle. The reproducer for these bond_enslave
rollback paths relies on XDP checking failures. I’ve moved that XDP check
earlier in bond_enslave with the patch:
"bonding: check XDP support before enslaving changes state" [1].
Once that XDP patch is applied, this class of issue will become difficult
to reproduce. Therefore, I do not plan to add a selftest for it.
[1] https://lore.kernel.org/all/2026…@kylinos.cn/
Thanks
Hangbin