[PATCH net] net: thunder_bgx: decrement cleanup index before use

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Wed Sep 3 17:00:10 PDT 2025


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:

On Mon,  1 Sep 2025 14:33:14 -0700 you wrote:
> All paths in probe that call goto defer do so before assigning phydev
> and thus it makes sense to cleanup the prior index. It also fixes a bug
> where index 0 does not get cleaned up.
> 
> Fixes: b7d3e3d3d21a ("net: thunderx: Don't leak phy device references on -EPROBE_DEFER condition.")
> Signed-off-by: Rosen Penev <rosenp at gmail.com>
> 
> [...]

Here is the summary with links:
  - [net] net: thunder_bgx: decrement cleanup index before use
    https://git.kernel.org/netdev/net/c/9e3d71a92e56

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-arm-kernel mailing list