Re: [PATCH net-next] devlink: Fix memleak in health diagnose callback

From: patchwork-bot+netdevbpf
Date: Tue Feb 07 2023 - 23:31:35 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 6 Feb 2023 17:56:16 +0200 you wrote:
> The callback devlink_nl_cmd_health_reporter_diagnose_doit() miss
> devlink_fmsg_free(), which leads to memory leak.
>
> Fix it by adding devlink_fmsg_free().
>
> Fixes: e994a75fb7f9 ("devlink: remove reporter reference counting")
> Signed-off-by: Moshe Shemesh <moshe@xxxxxxxxxx>
> Reviewed-by: Jiri Pirko <jiri@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net-next] devlink: Fix memleak in health diagnose callback
https://git.kernel.org/netdev/net-next/c/cb6b2e11a42d

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