Subject: Re: [PATCH] net: marvell: Fix refcounting bugs in prestera_port_sfp_bind()

From: [email-masked]
Date: Thu, 22 Sep 2022 14:30:14 +0000

Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <[email-masked]>:

On Wed, 21 Sep 2022 21:32:45 +0800 you wrote:
> In prestera_port_sfp_bind(), there are two refcounting bugs:
> (1) we should call of_node_get() before of_find_node_by_name() as
> it will automaitcally decrease the refcount of 'from' argument;
> (2) we should call of_node_put() for the break of the iteration
> for_each_child_of_node() as it will automatically increase and
> decrease the 'child'.
> 
> [...]

Here is the summary with links:
  - net: marvell: Fix refcounting bugs in prestera_port_sfp_bind()
    https://git.kernel.org/netdev/net/c/3aac7ada64d8

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