Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:
On Sat, 24 May 2025 09:29:11 +0200 you wrote:
If register_netdev() fails, the error handling path of the probe will not
free the memory allocated by the previous airoha_metadata_dst_alloc() call
because port->dev->reg_state will not be NETREG_REGISTERED.
So, an explicit airoha_metadata_dst_free() call is needed in this case to
avoid a memory leak.
[...]
Here is the summary with links:
- [v4,net] net: airoha: Fix an error handling path in airoha_alloc_gdm_port()
https://git.kernel.org/netdev/net/c/c59783780c8a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html