Re: [PATCH net v4] net: macb: drop in-flight Tx SKBs on close
From: patchwork-bot+netdevbpf
Date: Thu Jul 09 2026 - 04:57:49 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Thu, 02 Jul 2026 17:37:02 +0200 you wrote:
> The MACB driver has since forever leaked the outgoing SKBs that
> have not yet been marked as completed. They live in queue->tx_skb
> which gets freed without remorse nor checking.
>
> macb_free_consistent() gets called in a few codepaths, but only close will
> trigger the added expressions. In macb_open() and macb_alloc_consistent()
> failure cases, queues' tx_skb just got allocated and are empty.
>
> [...]
Here is the summary with links:
- [net,v4] net: macb: drop in-flight Tx SKBs on close
https://git.kernel.org/netdev/net/c/27f575836cfe
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html