diff options
author | Thomas Fourier <fourier.thomas@gmail.com> | 2025-06-16 12:56:30 +0200 |
---|---|---|
committer | Ping-Ke Shih <pkshih@realtek.com> | 2025-06-24 15:22:58 +0800 |
commit | 44c0e191004f0e3aa1bdee3be248be14dbe5b020 (patch) | |
tree | ef70f1740952ee12ef4ef4e703d5bda27856c9b2 /tools/testing/selftests/drivers/net/hw/rss_api.py | |
parent | c2852b5a0575b0f9de7e6359b9725a5b074778f8 (diff) |
wifi: rtlwifi: fix possible skb memory leak in `_rtl_pci_rx_interrupt()`.
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@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250616105631.444309-4-fourier.thomas@gmail.com
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/rss_api.py')
0 files changed, 0 insertions, 0 deletions