diff options
author | Johannes Berg <johannes.berg@intel.com> | 2021-04-16 09:42:14 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2021-04-19 13:25:50 +0200 |
commit | 010bfbe768f7ecc876ffba92db30432de4997e2a (patch) | |
tree | eb24755fe5a83b47a21c8b4685723b13be09b68c /drivers/net | |
parent | 2f5164447cdab6419edddde3a214f93a53aa4e60 (diff) | |
download | linux-stable-010bfbe768f7ecc876ffba92db30432de4997e2a.tar.gz linux-stable-010bfbe768f7ecc876ffba92db30432de4997e2a.tar.bz2 linux-stable-010bfbe768f7ecc876ffba92db30432de4997e2a.zip |
cfg80211: scan: drop entry from hidden_list on overflow
If we overflow the maximum number of BSS entries and free the
new entry, drop it from any hidden_list that it may have been
added to in the code above or in cfg80211_combine_bsses().
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20210416094212.5de7d1676ad7.Ied283b0bc5f504845e7d6ab90626bdfa68bb3dc0@changeid
Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions