diff options
author | Christian 'Ansuel' Marangi <[email protected]> | 2022-05-28 16:25:16 +0200 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2022-06-06 17:07:05 +0300 |
commit | e5646fe3b7ef739c392e59da7db6adf5e1fdef42 (patch) | |
tree | aa67e23789d6674a423ec794e372e5d5d6811561 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 8723750e2753868591ba86a57b0041c5e38047ad (diff) |
ath11k: fix missing skb drop on htc_tx_completion error
On htc_tx_completion error the skb is not dropped. This is wrong since
the completion_handler logic expect the skb to be consumed anyway even
when an error is triggered. Not freeing the skb on error is a memory
leak since the skb won't be freed anywere else. Correctly free the
packet on eid >= ATH11K_HTC_EP_COUNT before returning.
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1
Fixes: f951380a6022 ("ath11k: Disabling credit flow for WMI path")
Signed-off-by: Christian 'Ansuel' Marangi <[email protected]>
Reviewed-by: Jeff Johnson <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions