summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath12k/dp_rx.c
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-10-19 13:36:49 +0200
committerKalle Valo <quic_kvalo@quicinc.com>2023-10-25 13:01:42 +0300
commit69bd216e049349886405b1c87a55dce3d35d1ba7 (patch)
treef05fc429fca575f00c62c4250d78ea5fe7d49320 /drivers/net/wireless/ath/ath12k/dp_rx.c
parent1dea3c0720a146bd7193969f2847ccfed5be2221 (diff)
wifi: ath12k: fix dfs-radar and temperature event locking
The ath12k active pdevs are protected by RCU but the DFS-radar and temperature event handling code calling ath12k_mac_get_ar_by_pdev_id() was not marked as a read-side critical section. Mark the code in question as RCU read-side critical sections to avoid any potential use-after-free issues. Note that the temperature event handler looks like a place holder currently but would still trigger an RCU lockdep splat. Compile tested only. Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices") Cc: stable@vger.kernel.org # v6.2 Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/20231019113650.9060-2-johan+linaro@kernel.org
Diffstat (limited to 'drivers/net/wireless/ath/ath12k/dp_rx.c')
0 files changed, 0 insertions, 0 deletions