]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: fix access to BSS elements
authorJohannes Berg <johannes.berg@intel.com>
Thu, 5 Aug 2021 10:19:31 +0000 (13:19 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Sep 2021 10:26:36 +0000 (12:26 +0200)
commit5ff7e39da2ccb31f8475071e27990c89421ada43
tree83352cfd9416d2dd9f4a54b1d0cfe87fc3f1a383
parent9f15b459588dec3d884d118e1bda9f931379b54d
iwlwifi: mvm: fix access to BSS elements

[ Upstream commit 6c608cd6962ebdf84fd3de6d42f88ed64d2f4e1b ]

BSS elements are protected using RCU, so we need to use
RCU properly to access them, fix that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210805130823.fd8b5791ab44.Iba26800a6301078d3782fb249c476dd8ac2bf3c6@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c