[lvc-project] [PATCH] net: qrtr: free memory on error path in	radix_tree_insert()
    patchwork-bot+netdevbpf at kernel.org 
    patchwork-bot+netdevbpf at kernel.org
       
    Sat Jan 28 11:40:17 MSK 2023
    
    
  
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba at kernel.org>:
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
    
    
More information about the lvc-project
mailing list