Re: [PATCH net v2 5/6] net: bcm4908_enet: unmap RX buffers on stop with their mapped size
From: Florian Fainelli
Date: Thu Nov 12 2026 - 22:30:00 EST
On 11/12/26 11:50, Kordian Chmielewski wrote:
Since the switch to build_skb() the RX buffers are mapped with
ENET_RX_BUF_DMA_SIZE and slot->len is no longer set for them, but
bcm4908_enet_dma_uninit() still unmaps them with slot->len. Use the
size they were mapped with.
Found by reading the code.
Fixes: 3a1cc23a75ab ("net: broadcom: bcm4908_enet: use build_skb()")
Signed-off-by: Kordian Chmielewski <kudzo51@xxxxxxxxx>
Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian