]> 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)
commitc10a2956bd50de0167b7be8d257ea70e676d7741
treec027d03e9311afc65c4e0de2f773c9c5533b51bc
parent18f8b1b8d47a3934fa3c4e9d0ff74e28f5cac00c
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: 76b6c6d5353d ("wifi: mac80211: maintain link-sta hash table")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c