Files
linux/net
Johannes Berg 26f11be376 cfg80211: scan: drop entry from hidden_list on overflow
commit 010bfbe768 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-22 10:59:25 +02:00
..
2020-07-22 09:31:58 +02:00
2019-12-05 09:21:30 +01:00
2020-10-29 09:54:55 +01:00
2018-07-24 14:10:42 -07:00
2020-12-30 11:25:44 +01:00
2018-07-24 14:10:43 -07:00