[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172010402944.7153.11697585580866205532.git-patchwork-notify@kernel.org>
Date: Thu, 04 Jul 2024 14:40:29 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Aleksandr Mishin <amishin@...rgos.ru>
Cc: jiri@...nulli.us, idosch@...dia.com, petrm@...dia.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org, przemyslaw.kitszel@...el.com
Subject: Re: [PATCH net v2] mlxsw: core_linecards: Fix double memory deallocation
in case of invalid INI file
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 3 Jul 2024 23:32:51 +0300 you wrote:
> In case of invalid INI file mlxsw_linecard_types_init() deallocates memory
> but doesn't reset pointer to NULL and returns 0. In case of any error
> occurred after mlxsw_linecard_types_init() call, mlxsw_linecards_init()
> calls mlxsw_linecard_types_fini() which performs memory deallocation again.
>
> Add pointer reset to NULL.
>
> [...]
Here is the summary with links:
- [net,v2] mlxsw: core_linecards: Fix double memory deallocation in case of invalid INI file
https://git.kernel.org/netdev/net/c/8ce34dccbe8f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists