Re: [PATCH net] mctp: i3c: Fix potential thread leak on registration failure

From: patchwork-bot+netdevbpf

Date: Mon Nov 23 2026 - 09:30:22 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Tue, 17 Nov 2026 22:48:45 +0800 you wrote:
> mctp_register_netdev() can fail before netdev registration begins,
> leaving the TX thread and bus list entry allocated. The error path
> assumes ndo_uninit has already cleaned them up.
>
> Always clean up on registration failure. Make bus cleanup idempotent
> because later registration failures can already have called ndo_uninit.
>
> [...]

Here is the summary with links:
- [net] mctp: i3c: Fix potential thread leak on registration failure
https://git.kernel.org/netdev/net-next/c/5a3f240e32b2

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