Thread (33 messages) 33 messages, 5 authors, 2021-12-02

Re: [PATCH 16/16] cfg80211: Acquire wiphy mutex on regulatory work

From: Kalle Valo <kvalo@kernel.org>
Date: 2021-12-01 13:48:05

Luca Coelho [off-list ref] writes:
From: Ilan Peer <redacted>

The function cfg80211_reg_can_beacon_relax() expects wiphy
mutex to be held when it is being called. However, when
reg_leave_invalid_chans() is called the mutex is not held.
Fix it by acquiring the lock before calling the function.

Fixes: a05829a7222e ("cfg80211: avoid holding the RTNL when calling the driver")
Signed-off-by: Ilan Peer <redacted>
Fixes: a05829a7222e ("cfg80211: avoid holding the RTNL when calling the driver")
Duplicate Fixes tags.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help