Re: [PATCH 01/10] wifi: ath12k: prevent race condition in ath12k_core_hw_group_destroy()

Jeff Johnson
2025-01-13T19:06:19Z

On 1/8/2025 8:25 PM, Aditya Kumar Singh wrote:
> Currently, ath12k_core_hw_group_destroy() accesses its members without any
> locking mechanism. This could lead to potential issues if these members are
> modified by another thread concurrently.
>
> Hence to mitigate this, use the available mutex lock.
>
> Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
>
> Fixes: 6f245ea0ec6c ("wifi: ath12k: introduce device group abstraction")
> Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>

Acked-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>