Re: [PATCH] net: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list

From: patchwork-bot+netdevbpf
Date: Wed Jun 08 2022 - 02:54:59 EST


Hello:

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

On Sun, 5 Jun 2022 11:23:34 +0400 you wrote:
> Every iteration of for_each_available_child_of_node() decrements
> the reference count of the previous node.
> when breaking early from a for_each_available_child_of_node() loop,
> we need to explicitly call of_node_put() on the gphy_fw_np.
> Add missing of_node_put() to avoid refcount leak.
>
> Fixes: 14fceff4771e ("net: dsa: Add Lantiq / Intel DSA driver for vrx200")
> Signed-off-by: Miaoqian Lin <linmq006@xxxxxxxxx>
>
> [...]

Here is the summary with links:
- net: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list
https://git.kernel.org/netdev/net/c/0737e018a05e

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