wifi: ath10k: fix leaks when HL TX fails
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v11 patch 4 repliesSuperseded
Changes in v2 from the cover letter
- Split into two patches, one per Fixes tag
- Target ath-current instead of ath-next
- Link to v1: https://lore.kernel.org/all/[email protected]/
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | wifi: ath10k: free msdu_id when HL TX failsdrivers/ | +5 | 0 replies | |
| 2/2 | wifi: ath10k: drop extra skb reference when HL TX failsdrivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH ath-current v2 0/2] wifi: ath10k: fix leaks when HL TX fails
For SDIO and USB devices, ath10k_htt_tx_hl() leaks the msdu_id and an skb reference when ath10k_htc_send_hl() fails. v2 splits them into one patch per Fixes tag.
Found with a static analysis tool we are developing. Compile-tested only, with x86_64_defconfig plus ATH10K_SDIO, ATH10K_USB and W=1.
---
Changes in v2:
- Split into two patches, one per Fixes tag
- Target ath-current instead of ath-next
- Link to v1: https://lore.kernel.org/all/[email protected]/
Changyul Lee (2):
wifi: ath10k: free msdu_id when HL TX fails
wifi: ath10k: drop extra skb reference when HL TX fails
drivers/net/wireless/ath/ath10k/htt_tx.c | 7 +++++++ 1 file changed, 7 insertions(+)
base-commit: aebb7274476403040d582c61478df8f4a7bf9cd3
Signature · 1 line
2.43.0