Page MenuHomeFreeBSD

net80211: add IEEE80211_IS_LOCKED()
ClosedPublic

Authored by bz on Jan 15 2025, 10:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 14, 2:37 AM
Unknown Object (File)
Sun, Sep 21, 1:55 AM
Unknown Object (File)
Sep 3 2025, 2:47 AM
Unknown Object (File)
Aug 19 2025, 6:31 PM
Unknown Object (File)
Aug 17 2025, 11:26 AM
Unknown Object (File)
Aug 15 2025, 9:23 AM
Unknown Object (File)
Aug 11 2025, 4:14 AM
Unknown Object (File)
Aug 5 2025, 9:24 PM

Details

Summary

When trying to sort out a teardown locking problem (downcall in the
driver can sleep) I found that the fan-out tree was getting too big
to fix net80211 locking per-se for this while working on entirely
different problems.
Add IEEE80211_IS_LOCKED() so the driver can check and un-/re-lock as
necessary (as we do in other cases already) to avoid panics on
debug kernels left and right.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable