Re: [PATCH 16/16] cfg80211: Acquire wiphy mutex on regulatory work
From: Luca Coelho <hidden>
Date: 2021-12-02 13:28:09
From: Luca Coelho <hidden>
Date: 2021-12-02 13:28:09
On Wed, 2021-12-01 at 15:47 +0200, Kalle Valo wrote:
Luca Coelho [off-list ref] writes:quoted
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.
Thanks for noticing! My script adds the tag automatically, but it doesn't check (yet) whether the tag was already there... I'll send v2 without it. -- Cheers, Luca.