RE: [PATCH rtw-next] wifi: rtlwifi: fix possible skb memory leak in `_rtl_pci_rx_interrupt()`.

From: Ping-Ke Shih
Date: Wed Jun 18 2025 - 01:43:25 EST


Thomas Fourier <fourier.thomas@xxxxxxxxx> wrote:
> The function `_rtl_pci_init_one_rxdesc()` can fail even when the new
> `skb` is passed because of a DMA mapping error. If it fails, the `skb`
> is not saved in the rx ringbuffer and thus lost.
>
> Compile tested only
>
> Signed-off-by: Thomas Fourier <fourier.thomas@xxxxxxxxx>

Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>