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)
Wed, Dec 10, 11:13 PM
Unknown Object (File)
Wed, Dec 3, 1:34 AM
Unknown Object (File)
Tue, Nov 25, 11:01 AM
Unknown Object (File)
Fri, Nov 21, 3:52 PM
Unknown Object (File)
Wed, Nov 19, 2:10 AM
Unknown Object (File)
Nov 11 2025, 12:00 PM
Unknown Object (File)
Oct 25 2025, 3:28 PM
Unknown Object (File)
Oct 24 2025, 10:55 AM

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