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

From: Jeff Johnson
Date: Mon Jan 13 2025 - 14:06:24 EST


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@xxxxxxxxxxx>

Acked-by: Jeff Johnson <jeff.johnson@xxxxxxxxxxxxxxxx>