Re: [PATCH net v3] net: phylink: record the PHY only once bringup cannot fail
From: patchwork-bot+netdevbpf
Date: Thu Sep 24 2026 - 13:13:41 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 21 Sep 2026 01:20:44 +0300 you wrote:
> phylink_bringup_phy() stores the PHY in pl->phydev before its last
> fallible step: on a MAC whose phylink ops implement LPI,
> phy_eee_rx_clock_stop() can fail with a real MDIO error. The callers
> unwind with phy_detach(), which knows nothing about pl->phydev, so a
> pointer to a PHY that is no longer attached outlives the failed
> connect.
>
> [...]
Here is the summary with links:
- [net,v3] net: phylink: record the PHY only once bringup cannot fail
https://git.kernel.org/netdev/net/c/a940003f44e7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html