]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: fix link sta hash table handling
authorJohannes Berg <johannes.berg@intel.com>
Mon, 18 Jul 2022 20:54:27 +0000 (22:54 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jul 2022 12:28:10 +0000 (14:28 +0200)
commit68ef837222172cb1b3efa8ea3913ed5b03b05fad
treec027d03e9311afc65c4e0de2f773c9c5533b51bc
parent98f3a527e1b89f5ac8398b69a5c699cce6c309ab
wifi: mac80211: fix link sta hash table handling

There are two issues here: we unhash the link stations only
directly before freeing the station they belong to, and we
also don't unhash all the links correctly in all cases. Fix
these issues.

Fixes: 2810cc7c2e08 ("wifi: mac80211: maintain link-sta hash table")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c