🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #2601

Re: [PATCH net-next v5 4/4] net: phy: make an unbind wait for the attached consumer to detach

#2601
From: Andrew Lunn
Date: Tue, 13 Oct 2026 02:37
11 lines
6356 bytes
On Fri, Oct 09, 2026 at 09:05:50PM +0300, Aleksei Sviridkin wrote:
> With attach serialised against unbind, the unbind that loses the race
> waits for the attach and then removes the driver from a PHY that is now
> attached. phylink uses phydev->drv right after the attach returns, and
> phylib uses it again in later phy_start(), phy_stop() and state machine
> runs.

I think we should drop this one as well.

  Andrew
Technical Details
Message-ID: <4189a162-275c-4ca1-8fda-f77870ac767b@lunn.ch>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-345343-linux-kernel-netdev=dewy.ru
References: <20261009180551.1234107-1-f@lex.la> <20261009180551.1234107-5-f@lex.la>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-345343-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v5 4/4] net: phy: make an unbind wait for the
 attached consumer to detach
Date: Tue, 13 Oct 2026 04:37:21 +0200
Organization: Usenet Network
Message-ID: <4189a162-275c-4ca1-8fda-f77870ac767b@lunn.ch>
References: <20261009180551.1234107-1-f@lex.la>
 <20261009180551.1234107-5-f@lex.la>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="1943885"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:BzmnBPvok1Vc3f3inBpGFgM5McY= sha256:0k4/9aNOHi3fwZYHNN+PVmuqMPE/CnoGupGWseYzdqc=
	sha1:xemAO8S+sevxPHtXQz4NBUe6NGM= sha256:e0neZrCEBSd+6UqNvjGsOgNGEfAWnbq1etBI2C5e0+s=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 072C410FD55; Tue, 13 Oct 2026 05:53:02 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.751
X-Spam-Status: No, score=-0.751 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=lunn.ch
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id XfQL3jCQ4K8j;
	Tue, 13 Oct 2026 05:52:57 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-345343-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 0474810F89C; Tue, 13 Oct 2026 05:52:48 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by tor.lore.kernel.org (Postfix) with ESMTP id 08EE72F511; Tue, 13 Oct 2026 02:45:16 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id B1B7C471267;
	Tue, 13 Oct 2026 02:37:30 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="u6XBwG6S"
X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C4BB3D0934;
	Tue, 13 Oct 2026 02:37:29 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791859050; cv=none; b=TgLX3aGcRayBpiiJCuXpRM3X6YKeh3CF/f4Mz2WarPj+F4JXG4BMO0fYcVOtUne4Q7SVQAA8kYVjRaGg2o2OibSCi2JYhW8hjQ/CsOLRGhWUBM+ooGZPWaiIJRCckf7Mn61laikCq5H32X4/RjuSUEO0iE1R40DG5SWojLSNi9E=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791859050; c=relaxed/simple;
	bh=P65gMytbqCQwWjWUNdZiszGvFUDMG3n5MYW0xe1nY4c=;
	h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
	 Content-Type:Content-Disposition:In-Reply-To; b=IAX+lgg/y7fa3hmeRKBKMRYuqFQ/9547U0csbVefG9GfX96P2nHM7wCPfz+V9Uqt3imW07kndEZ+56a/wbFCpKGxP7k03Yeb3CG4+NFj/J8Lv/lpPbVXTlwTVLn7PPxZ/JBjYny/84xlVrOkoQWTkbUD1rouI6R9tfw8wKiW9GA=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=u6XBwG6S; arc=none smtp.client-ip=156.67.10.101
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch;
	s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version:
	References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject:
	Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:
	Content-ID:Content-Description:Content-Disposition:In-Reply-To:References;
	bh=JxNxsDo707Wifohn+iOG3qOIbg48C36AVzw/Txj9y8c=; b=u6XBwG6SFNErBEyrrcL8HaHOGm
	aetLPOEwMcQVFPdJiBcQONNtPACrexews5NiwFz/m5yDi24/+7Bxth/VQGZL0WMQBbpy3KSUuan5C
	EpC3p/nQ7qo9Ns7xDolFU/sORp/+0Y12pDrddSovPl3iTubZ1/fWq7AZ1f7nYV21Vk2k=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xGSOH-00ARJe-QO; Tue, 13 Oct 2026 04:37:21 +0200
X-Cc: Heiner Kallweit <hkallweit1@gmail.com>,
	Russell King <linux@armlinux.org.uk>, netdev@vger.kernel.org,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	linux-kernel@vger.kernel.org,
	Florian Fainelli <f.fainelli@gmail.com>,
	Woojung Huh <woojung.huh@microchip.com>,
	Vladimir Oltean <vladimir.oltean@nxp.com>,
	Maxime Chevallier <maxime.chevallier@bootlin.com>
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <20261009180551.1234107-5-f@lex.la>