Re: [PATCH net v2] net: rtsn: fix mdio_node leak in rtsn_mdio_alloc()

From: patchwork-bot+netdevbpf

Date: Wed May 06 2026 - 20:51:17 EST


Hello:

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

On Tue, 5 May 2026 18:02:36 +0530 you wrote:
> of_get_child_by_name() takes a reference. The rtsn_reset() and
> rtsn_change_mode() failure paths jump to out_free_bus and leak
> mdio_node.
>
> Add out_put_node to drop it before falling through.
>
> Fixes: b0d3969d2b4d ("net: ethernet: rtsn: Add support for Renesas Ethernet-TSN")
> Signed-off-by: Shitalkumar Gandhi <shitalkumar.gandhi@xxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net,v2] net: rtsn: fix mdio_node leak in rtsn_mdio_alloc()
https://git.kernel.org/netdev/net/c/701ea57feaab

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