# Re: \[PATCH\] net: dsa: Fix an error handling path in 'dsa\_switch\_parse\_ports\_of()'

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2021-10-20 00:00:13 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/10/1547719
- Thread: https://ratatoskr.run/netdev/2021/10/1546258/t.md

```text
Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski [ref]:

On Mon, 18 Oct 2021 21:59:00 +0200 you wrote:
> If we return before the end of the 'for_each_child_of_node()' iterator, the
> reference taken on 'port' must be released.
> 
> Add the missing 'of_node_put()' calls.
> 
> Fixes: 83c0afaec7b7 ("net: dsa: Add new binding implementation")
> Signed-off-by: Christophe JAILLET <redacted>
> 
> [...]

Here is the summary with links:
  - net: dsa: Fix an error handling path in 'dsa_switch_parse_ports_of()'
    https://git.kernel.org/netdev/net/c/ba69fd9101f2

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


```
