]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: fix locking in auth/assoc timeout
authorJohannes Berg <johannes.berg@intel.com>
Fri, 2 Sep 2022 14:11:14 +0000 (16:11 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Sat, 3 Sep 2022 14:40:06 +0000 (16:40 +0200)
commit2cda03444ca6f3414ab9e11510bdd369c74f4a4b
treef7ceadf0b43244ea671c868789632d9afc5d2fde
parentd783144f516d8ff5d6d7920cd3d528ba6db3a47e
wifi: mac80211: fix locking in auth/assoc timeout

If we hit an authentication or association timeout, we only
release the chanctx for the deflink, and the other link(s)
are released later by ieee80211_vif_set_links(), but we're
not locking this correctly.

Fix the locking here while releasing the channels and links.

Change-Id: I9e08c1a5434592bdc75253c1abfa6c788f9f39b1
Fixes: 8020ebb801e6 ("wifi: mac80211: support MLO authentication/association with one link")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c