Re: [PATCH net v4 0/5] net: mana: Fix probe/remove error path bugs

From: patchwork-bot+netdevbpf

Date: Thu Apr 23 2026 - 07:05:59 EST


Hello:

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

On Mon, 20 Apr 2026 05:47:34 -0700 you wrote:
> Fix five bugs in mana_probe()/mana_remove() error handling that can
> cause warnings on uninitialized work structs, NULL pointer dereferences,
> masked errors, and resource leaks when early probe steps fail.
>
> Patches 1-2 move work struct initialization (link_change_work and
> gf_stats_work) to before any error path that could trigger
> mana_remove(), preventing WARN_ON in __flush_work() or debug object
> warnings when sync cancellation runs on uninitialized work structs.
>
> [...]

Here is the summary with links:
- [net,v4,1/5] net: mana: Init link_change_work before potential error paths in probe
https://git.kernel.org/netdev/net/c/cb4a90744bcd
- [net,v4,2/5] net: mana: Init gf_stats_work before potential error paths in probe
https://git.kernel.org/netdev/net/c/6e8bc03349fe
- [net,v4,3/5] net: mana: Guard mana_remove against double invocation
https://git.kernel.org/netdev/net/c/50271d7ec951
- [net,v4,4/5] net: mana: Don't overwrite port probe error with add_adev result
https://git.kernel.org/netdev/net/c/a7fdaf069bd0
- [net,v4,5/5] net: mana: Fix EQ leak in mana_remove on NULL port
https://git.kernel.org/netdev/net/c/65267c9c4f28

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