Thread (3 messages) flat view 3 messages, 3 authors, 2021-07-21

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

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-07-21 21:50:07
Also in: lkml

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@nvidia.com>

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help