Re: [PATCH net-next] ionic: cleanly release devlink instance

From: patchwork-bot+netdevbpf
Date: Wed Jul 21 2021 - 17:50:08 EST


Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Wed, 21 Jul 2021 15:39:44 +0300 you wrote:
> From: Leon Romanovsky <leonro@xxxxxxxxxx>
>
> The failure to register devlink will leave the system with dangled
> devlink resource, which is not cleaned if devlink_port_register() fails.
>
> In order to remove access to ".registered" field of struct devlink_port,
> require both devlink_register and devlink_port_register to success and
> check it through device pointer.
>
> [...]

Here is the summary with links:
- [net-next] ionic: cleanly release devlink instance
https://git.kernel.org/netdev/net-next/c/c2255ff47768

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