Subject: Re: [PATCH net v2 1/2] net: netdevsim: fix inconsistent carrier state after link/unlink

From: Yohei Kojima <[email-masked]>
Date: Tue, 6 Jan 2026 00:36:09 +0900

On Sun, Jan 04, 2026 at 10:54:22AM -0800, Jakub Kicinski wrote:
> On Wed, 31 Dec 2025 01:03:29 +0900 [email-masked] wrote:
> > +	netif_carrier_on(dev_a);
> > +	netif_carrier_on(dev_b);
> 
> 	if (netif_running(dev_a) && netif_running(dev_b)) {
> 		/// your code
> 	}
> 
> right? If one side is down there should be no carrier.

That's right. I have updated the first patch with netif_running()
checks accordingly.

Here is the v3 series including the fix:
https://lore.kernel.org/netdev/[email-masked]/T/

Thank you,
Yohei Kojima

> -- 
> pw-bot: cr