🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #4227

Re: [PATCH net-next v6 0/2] net: phy: fix a second attach of an attached PHY and the module put on detach

#4227
From: patchwork-bot+netdevbpf
Date: Sat, 17 Oct 2026 01:50
29 lines
6681 bytes
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 13 Oct 2026 18:11:58 +0300 you wrote:
> Two phylib fixes found on a Keenetic KN-1012 (MT7981) while chasing a
> PHY driver unbind race. A second attach of an attached PHY tears down
> the first consumer, and a detach after a driver unbind leaks the module
> reference.
> 
> 1: refuse a second attach before the driver module is taken or the
>    generic driver bound.
> 2: put the module the attach pinned, not whatever driver is bound at
>    detach.
> 
> [...]

Here is the summary with links:
  - [net-next,v6,1/2] net: phy: refuse a second attach before touching the PHY
    https://git.kernel.org/netdev/net-next/c/fa38468cd26b
  - [net-next,v6,2/2] net: phy: put the driver module the attach took
    https://git.kernel.org/netdev/net-next/c/7151b86654fa

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179220181326.1055958.8232686997643079264.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347634-linux-kernel-netdev=dewy.ru
References: <20261013151200.2473464-1-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-347634-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v6 0/2] net: phy: fix a second attach of an
 attached
 PHY and the module put on detach
Date: Sat, 17 Oct 2026 01:50:13 +0000
Organization: Usenet Network
Message-ID: <179220181326.1055958.8232686997643079264.git-patchwork-notify@kernel.org>
References: <20261013151200.2473464-1-f@lex.la>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2939547"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:+CEjpG+e+Z1NeFY54T6KBe7exh0= sha256:BChNUAKt8FJB66D+WZJ0EVUpk7/W8jEksIUEpDKKHsM=
	sha1:KnkmCq3YhKMQJ4kB9oWdv/Py2t4= sha256:mzVgA26/WYb9YdHwxrvgnm0Ryr4/PasO2EXtTqmdYvU=
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 E3D6A110668; Sat, 17 Oct 2026 04:51:17 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.64
X-Spam-Status: No, score=-3.64 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
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 LaiWoELA-PYc;
	Sat, 17 Oct 2026 04:51:15 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-347634-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id BC544110655; Sat, 17 Oct 2026 04:51:06 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id B15B940DEA; Sat, 17 Oct 2026 01:50:19 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 6258638E8B4;
	Sat, 17 Oct 2026 01:50:16 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eW4jGywr"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(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 A40B23876BE;
	Sat, 17 Oct 2026 01:50:14 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1792201816; cv=none; b=OoRu+ssLl78bFrGs0sxvsIuE9hDXVxrtxSf4FBJ4lvWNgDNsesWcoqsVXJwixL3Or95725bnwz4ycMZMmH1nhWxcTe8ZLw/9xj6pPaXeWMi/VGUl05Lyru1F1jkgeTfds609g96nVPPgkNBgzuL+JglzY6Z0RT+jQeNb8abgnGU=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792201816; c=relaxed/simple;
	bh=Jy84qNyua2c6bKD6ErRGhzdYp+8eg/UII/kvSsuMPJY=;
	h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc; b=jZ0WkudZhZ3izbrX1+PT/ZkmKifadokuceVlgLZNV2JRTDIc3HkBs48sgNB0uSkcplDyUnOjbFqEPcjCOyNaVUnFq7X4VB6hA3MQUsGP9fIRf1r6ummkH1UaopdbbeUVZqS2yiC/mu3/rUzIKSixa/ERK0IpjhW6f0/7IkgJ/wg=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eW4jGywr; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8039E1F000C4;
	Sat, 17 Oct 2026 01:50:14 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792201814;
	bh=4Fu58a0NmBn3XQdNc+Da+WKytu4zyoxLl7XWEd4LM6U=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=eW4jGywrf3mbDdWWX153aZj5HeSypvRKtP0AMyrAs0d0wSbMXjFb0cFc9BOcCC0jR
	 xrjsCVGvRKZel+X/nmz/In64GD0MOawfkxrnhyaYnPUBmDeW7o3kZJDJeexF9ijl0I
	 XYVvyekvVwArnOjqM3yBOyTPhvHqptJ4xM/0Lsf0KZ61aeXCq+dyS9hF6VbpG0JTNS
	 xhJl3NbwJs/C7DM/UpF5uKjVAXWsRHGNzDpPWUfizeINHXc7Qtj+JsRoMh0IvqGN0L
	 tD4CQ+IpR0ivJ7par+VMmfIUYlItDP0yKkJ3SS21fdDZ/sUWztVfBWTfmILKke8CW8
	 2sfdxJ1bXuwRQ==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 77393380CEDA;
	Sat, 17 Oct 2026 01:50:14 +0000 (UTC)
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: <20261013151200.2473464-1-f@lex.la>
X-Cc: andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk,
 netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com,
 kuba@kernel.org, pabeni@redhat.com, linux-kernel@vger.kernel.org,
 f.fainelli@gmail.com, woojung.huh@microchip.com, vladimir.oltean@nxp.com,
 maxime.chevallier@bootlin.com