[PATCH] wifi: ath12k: fix DMA unwind for ext MSDU descriptor retry

Jeff Johnson jeff.johnson at oss.qualcomm.com
Wed Sep 9 10:57:49 PDT 2026


On Thu, 13 Aug 2026 23:09:20 +0530, Rameshkumar Sundaram wrote:
> ath12k_wifi7_dp_tx() maps the original MSDU into ti.paddr and
> stores the address in skb_cb->paddr. When an extended MSDU descriptor
> is used, the function later maps the ext descriptor and overwrites
> ti.paddr and ti.data_len with the ext-desc DMA address and length.
> 
> If TCL ring allocation then fails, the error path first unmaps the
> ext-desc DMA address from skb_cb->paddr_ext_desc. It then falls through
> to fail_unmap_dma, which uses ti.paddr/ti.data_len for the original
> MSDU unmap. At that point ti.paddr still refers to the ext-desc
> mapping, so the ext descriptor is unmapped twice and the original MSDU
> mapping is left mapped.
> 
> [...]

Applied, thanks!

[1/1] wifi: ath12k: fix DMA unwind for ext MSDU descriptor retry
      commit: 4de5a8a0edddc453f1a4c93b6d9f09013a23b72e

Best regards,
-- 
Jeff Johnson <jeff.johnson at oss.qualcomm.com>




More information about the ath12k mailing list