[PATCH ath12k-ng] wifi: ath12k: add the missing RCU lock in ath12k_dp_tx_free_txbuf()
Jeff Johnson
jeff.johnson at oss.qualcomm.com
Wed Nov 19 11:53:13 PST 2025
On Wed, 19 Nov 2025 10:15:57 +0800, Baochen Qiang wrote:
> RCU read lock is missing in ath12k_dp_tx_free_txbuf() before calling
> ath12k_dp_to_pdev_dp(), causing below warning:
>
> WARNING: suspicious RCU usage
> -----------------------------
> drivers/net/wireless/ath/ath12k/dp.h:653 ath12k dp to dp pdev called without rcu lock!
> Call Trace:
> <IRQ>
> show_stack
> dump_stack_lvl
> dump_stack
> lockdep_rcu_suspicious.cold
> ath12k_dp_tx_free_txbuf
> ath12k_wifi7_dp_tx_completion_handler
> ath12k_wifi7_dp_service_srng
> ath12k_pci_ext_grp_napi_poll
> [...]
> </IRQ>
>
> [...]
Applied, thanks!
[1/1] wifi: ath12k: add the missing RCU lock in ath12k_dp_tx_free_txbuf()
commit: 5a384854d81f83d59d812b54bfa27fd0e56e36f0
Best regards,
--
Jeff Johnson <jeff.johnson at oss.qualcomm.com>
More information about the ath12k
mailing list