Re: [PATCH net] net: hip04: fix RX buffer leak on build_skb failure

From: patchwork-bot+netdevbpf

Date: Wed Jul 22 2026 - 11:27:51 EST


Hello:

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

On Sun, 12 Jul 2026 14:27:29 +0000 you wrote:
> When build_skb() fails in hip04_rx_poll(), the driver jumps to the
> refill path without releasing the current RX buffer and its DMA mapping.
> Installing a replacement buffer then overwrites the slot references and
> leaks both resources.
>
> Keep the current slot intact and return budget so NAPI retries the same
> buffer. Also free a newly allocated RX fragment when dma_map_single()
> fails.
>
> [...]

Here is the summary with links:
- [net] net: hip04: fix RX buffer leak on build_skb failure
https://git.kernel.org/netdev/net/c/14fa65d10f56

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