https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280546
--- Comment #38 from commit-h...@freebsd.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=7d57b5a339e34f4625739c6457c6c4f8369f87ae commit 7d57b5a339e34f4625739c6457c6c4f8369f87ae Author: Bjoern A. Zeeb <b...@freebsd.org> AuthorDate: 2025-04-08 18:41:45 +0000 Commit: Bjoern A. Zeeb <b...@freebsd.org> CommitDate: 2025-04-18 14:36:01 +0000 LinuxKPI: 802.11: switch to wiphy_lock Replace the LKPI_80211_LHW_LOCK (lhw->sx) with the wiphy lock (which is a Linux mutex, so also an sx lock). Apart from two places the change was mostly mechanically. Further remove the now recursive lock acquisitions. This lays the ground for us to use more Linux(KPI) 802.11 internal locking as well as more rcu equivalents, e.g., for the chanctx, and live better to the synchronisation expectations of the drivers. [I wish there would be more assertions in the drivers themselves, especially in the mac80211 ops and the iteration callbacks.] Sponsored by: The FreeBSD Foundation PR: 280546 Tested by: Oleksandr Kryvulia (shuriku shurik.kiev.ua) Tested by: Oleg Nauman (oleg.nauman gmail.com) [rtw88] Differential Revision: https://reviews.freebsd.org/D49734 (cherry picked from commit cd0fcf9f12114df542d4b080202abb1fe5f1aec8) sys/compat/linuxkpi/common/src/linux_80211.c | 122 ++++++++++++--------------- sys/compat/linuxkpi/common/src/linux_80211.h | 14 --- 2 files changed, 56 insertions(+), 80 deletions(-) -- You are receiving this mail because: You are on the CC list for the bug.