Hello: This patch was applied to netdev/net.git (main) by Willem de Bruijn <will…@google.com>: On Sat, 21 Nov 2026 20:53:05 -0800 you wrote:
> prestera_rxtx_xmit() is invoked directly from prestera_port_xmit(), the > driver's .ndo_start_xmit() callback, whose return type is netdev_tx_t. > When skb_cow_head() or prestera_dsa_build() fails, prestera_rxtx_xmit() > returns NET_XMIT_DROP (0x01) without freeing skb. > > Because NET_XMIT_DROP (0x01) is less than NET_XMIT_MASK (0x0f), > dev_xmit_complete() returns true and dev_hard_start_xmit() assumes the > driver has already consumed or freed the skb, leaking the packet buffer. > > [...]
Here is the summary with links: - [net,v2] net: marvell: prestera: Fix skb leak on error in prestera_rxtx_xmit() https://git.kernel.org/netdev/net/c/ab65bae7b4d7 You are awesome, thank you!