Re: [PATCH] net: qrtr: free memory on error path in radix_tree_insert()

From: patchwork-bot+netdevbpf
Date: Sat Jan 28 2023 - 03:40:29 EST


Hello:

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

On Wed, 25 Jan 2023 16:48:31 +0300 you wrote:
> Function radix_tree_insert() returns errors if the node hasn't
> been initialized and added to the tree.
>
> "kfree(node)" and return value "NULL" of node_get() help
> to avoid using unclear node in other calls.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> [...]

Here is the summary with links:
- net: qrtr: free memory on error path in radix_tree_insert()
https://git.kernel.org/netdev/net/c/29de68c2b32c

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