lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260104105422.57542bd4@kernel.org>
Date: Sun, 4 Jan 2026 10:54:22 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: yk@...oj.net
Cc: Andrew Lunn <andrew+netdev@...n.ch>, "David S. Miller"
 <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Paolo Abeni
 <pabeni@...hat.com>, Breno Leitao <leitao@...ian.org>, Andrew Lunn
 <andrew@...n.ch>, netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net v2 1/2] net: netdevsim: fix inconsistent carrier
 state after link/unlink

On Wed, 31 Dec 2025 01:03:29 +0900 yk@...oj.net 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.
-- 
pw-bot: cr

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ