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

From: patchwork-bot+netdevbpf

Date: Fri Oct 16 2026 - 21:51:15 EST


Hello:

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

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