Re: [PATCH] net: qrtr: fix node refcount leak on ctrl packet alloc failure

From: patchwork-bot+netdevbpf

Date: Mon Jun 01 2026 - 23:12:36 EST


Hello:

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

On Thu, 28 May 2026 08:00:19 +0000 you wrote:
> qrtr_send_resume_tx() calls qrtr_node_lookup() which takes a
> reference on the returned node. If the subsequent call to
> qrtr_alloc_ctrl_packet() fails due to memory allocation failure, the
> function returns -ENOMEM without calling qrtr_node_release() to
> release the node reference.
>
> Add qrtr_node_release(node) before returning on the allocation failure
> path to properly release the reference.
>
> [...]

Here is the summary with links:
- net: qrtr: fix node refcount leak on ctrl packet alloc failure
https://git.kernel.org/netdev/net-next/c/3b09ff541145

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