diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2026-07-27 12:12:22 +0530 |
|---|---|---|
| committer | Ping-Ke Shih <pkshih@realtek.com> | 2026-07-30 13:37:50 +0800 |
| commit | 9f2948010764d708bda27369d09ce6f194abe8e3 (patch) | |
| tree | 75afa9a6d771b7576e94686ba7291738f20c0f57 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | bbc18041ad5f35fd64211b82df2b585866bf75d1 (diff) | |
wifi: rtw88: Fix potential memory leak in rtw_txq_push_skb()
The skb passed to the rtw_hci_tx_write() is expected to be freed when
the function fails, but the error path in rtw_txq_push_skb() does not
free the skb before returning. This can lead to a memory leak in
rtw_txq_push() where a dequeued skb is passed to rtw_txq_push_skb().
Fixes: aaab5d0e6737 ("rtw88: kick off TX packets once for higher efficiency")
Cc: stable@vger.kernel.org
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20260727064223.61836-1-nihaal@cse.iitm.ac.in
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
