diff options
author | 2022-09-24 15:40:41 -0300 | |
---|---|---|
committer | 2022-09-27 10:33:51 +0200 | |
commit | 883b8dc1a8766464d5bde4d97e1d7c795d990d31 (patch) | |
tree | 38e85cd1180ede7584b82ff36531ce5419731d24 /scripts/generate_rust_analyzer.py | |
parent | wifi: mac80211: fix memory corruption in minstrel_ht_update_rates() (diff) | |
download | wireguard-linux-883b8dc1a8766464d5bde4d97e1d7c795d990d31.tar.xz wireguard-linux-883b8dc1a8766464d5bde4d97e1d7c795d990d31.zip |
wifi: mac80211: mlme: Fix missing unlock on beacon RX
Commit 98b0b467466c ("wifi: mac80211: mlme: use correct link_sta")
switched to link station instead of deflink and added some checks to do
that, which are done with the 'sta_mtx' mutex held. However, the error
path of these checks does not unlock 'sta_mtx' before returning.
Fixes: 98b0b467466c ("wifi: mac80211: mlme: use correct link_sta")
Signed-off-by: Rafael Mendonca <rafaelmendsr@gmail.com>
Link: https://lore.kernel.org/r/20220924184042.778676-1-rafaelmendsr@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions