Re: [PATCH net 1/5] net: netdevsim: fix inconsistent carrier state after link/unlink
From: Yohei Kojima
Date: Tue Dec 30 2025 - 11:20:53 EST
On Tue, Dec 30, 2025 at 12:02:22PM +0100, Andrew Lunn wrote:
> > Thank you for the quick reply. I don't intend for this patch to be
> > backported to the stable tree. My understanding was that bugfix patches
> > to the net tree should have Fixes: tag for historical tracking.
> >
> > >
> > > netdevsim is not a real device. Do its bugs actually bother people?
> >
> > This patch fixes a real bug that is seen when a developer tries to test
> > TFO or netdevsim tests on NetworkManager-enabled systems: it causes
> > false positives in kselftests on such systems.
>
> O.K, then keep the Fixes tag and submit it for net. However, the tests
> should be considered development work, and submitted to net-next, if
> they are not fixes. Please split this into two series.
Sure, I've submitted the v2 patch here.
https://lore.kernel.org/netdev/cover.1767108538.git.yk@xxxxxxxxx/
Following your suggestion, I've removed the unrelated TFO tests and
the netdevsim test improvement. I will post the removed patches as a
separate series once net-next reopens.
However, I kept the regression test for this patch in the v2 series, as
the "1.5.10. Co-posting selftests" section in the maintainer-netdev
document says:
Selftests should be part of the same series as the code changes.
Specifically for fixes both code change and related test should
go into the same tree (the tests may lack a Fixes tag, which is
expected). Mixing code changes and test changes in a single commit
is discouraged.
>
> https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html
>
> Andrew
Thank you,
Yohei Kojima
>
> ---
> pw-bot: cr