Re: [PATCH v2 net] net: systemport: fix potential memory leak in bcm_sysport_xmit()

From: Jakub Kicinski
Date: Tue Oct 15 2024 - 14:03:25 EST


On Tue, 15 Oct 2024 22:35:58 +0800 Wang Hai wrote:
> The bcm_sysport_xmit() returns NETDEV_TX_OK without freeing skb
> in case of dma_map_single() fails, add dev_consume_skb_any() to fix it.

Technically you posted it 16min too early (23h 44min) and I'm not sure
this is better than v1, see the discussion there. So I'm discarding
this version.