Re: [PATCH net-next v2] net: cpsw_new: unregister devlink on port registration failure
From: patchwork-bot+netdevbpf
Date: Fri Jun 05 2026 - 20:41:09 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 4 Jun 2026 12:31:15 +0800 you wrote:
> cpsw_probe() registers devlink before registering the CPSW ports.
>
> If cpsw_register_ports() fails, the error path only unregisters the
> notifiers and then releases the lower level resources. It does not undo
> the successful cpsw_register_devlink() call, leaving the devlink instance
> and its parameters registered after probe has failed.
>
> [...]
Here is the summary with links:
- [net-next,v2] net: cpsw_new: unregister devlink on port registration failure
https://git.kernel.org/netdev/net-next/c/b64f763b6074
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html