HomeFreeBSD

net80211: make sure calls to (*iv_update_bss)() are locked

Description

net80211: make sure calls to (*iv_update_bss)() are locked

It turned out thare various calls into (*iv_update_bss)(), that is
direct changes to vap->iv_bss in the old days, happened without
synchronisation.

Use locking assertions to document the requirement or status quo
at some callers given ic locking will eventually have to be dealt
with.

MFC after: 3 days
Reviewed by: cc
Differential Revision: https://reviews.freebsd.org/D43512

Details

Provenance
bzAuthored on Jan 19 2024, 2:52 PM
Reviewer
cc
Differential Revision
D43512: net80211: make sure calls to (*iv_update_bss)() are locked
Parents
rG8a5a3e3d0436: net80211: fix a NULL deref in ieee80211_sta_join1()
Branches
Unknown
Tags
Unknown