summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2022-07-19 12:08:29 +0200
committerJohannes Berg <johannes.berg@intel.com>2022-07-22 14:28:19 +0200
commit177577dbd2235a3a65f34a6cd618fe961a4dcaba (patch)
treea0aa864f3929ed187554a1259adde5795e84fa09 /certs
parentb18d87f5d1025b55351378f953f644f07b1040b0 (diff)
downloadlinux-177577dbd2235a3a65f34a6cd618fe961a4dcaba.tar.bz2
wifi: mac80211: sta_info: fix link_sta insertion
When inserting a link STA, make sure it doesn't exist first and add lockdep assertions that we cannot modify the hash table without holding the sta_mtx, so this check is really correct. Also return without hashing if the driver failed, and warn if the hashing fails, which shouldn't happen due to the check described above. Fixes: cb71f1d136a6 ("wifi: mac80211: add sta link addition/removal") Fixes: ba6ddab94fc6 ("wifi: mac80211: maintain link-sta hash table") Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions