Messages in this thread | | | Subject | Re: [PATCH v2] nfc: change order inside nfc_se_io error path | From | patchwork-bot+netdevbpf@kernel ... | Date | Tue, 07 Mar 2023 21:50:20 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (main) by Jakub Kicinski <kuba@kernel.org>:
On Tue, 7 Mar 2023 00:26:50 +0300 you wrote: > cb_context should be freed on the error path in nfc_se_io as stated by > commit 25ff6f8a5a3b ("nfc: fix memory leak of se_io context in > nfc_genl_se_io"). > > Make the error path in nfc_se_io unwind everything in reverse order, i.e. > free the cb_context after unlocking the device. > > [...]
Here is the summary with links: - [v2] nfc: change order inside nfc_se_io error path https://git.kernel.org/netdev/net/c/7d834b4d1ab6
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |