Re: [PATCH] rtnetlink: Fix an error handling path in rtnl_newlink()
From: patchwork-bot+netdevbpf
Date: Wed Oct 30 2024 - 21:32:13 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Sat, 26 Oct 2024 16:17:44 +0200 you wrote:
> When some code has been moved in the commit in Fixes, some "return err;"
> have correctly been changed in goto <some_where_in_the_error_handling_path>
> but this one was missed.
>
> Should "ops->maxtype > RTNL_MAX_TYPE" happen, then some resources would
> leak.
>
> [...]
Here is the summary with links:
- rtnetlink: Fix an error handling path in rtnl_newlink()
https://git.kernel.org/netdev/net-next/c/bd03e7627c37
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html