]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
net80211: make sure calls to (*iv_update_bss)() are locked
authorBjoern A. Zeeb <bz@FreeBSD.org>
Fri, 19 Jan 2024 14:52:03 +0000 (14:52 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Sat, 3 Feb 2024 13:55:29 +0000 (13:55 +0000)
commit49619f73151aeaca4cef5adf631253da04a46e19
tree9812a8e95753dcfaf9f7a60211f29428f7f08e6b
parent8a5a3e3d0436a2de9dc5c2c10bd9a471b6338233
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
sys/net80211/ieee80211_node.c
sys/net80211/ieee80211_proto.c