diff options
author | Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com> | 2020-02-23 17:33:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-20 13:55:53 +0300 |
commit | ebd1b09e811295d5ea96daad0caa7eae19a2e984 (patch) | |
tree | d36123975e8a0f458e7cd3c6a62a509b82d786c3 /net/ncsi | |
parent | a17fcd59a2c89106733412e4e26695dd062bba02 (diff) | |
download | linux-ebd1b09e811295d5ea96daad0caa7eae19a2e984.tar.xz |
mac80211: rx: avoid RCU list traversal under mutex
[ Upstream commit 253216ffb2a002a682c6f68bd3adff5b98b71de8 ]
local->sta_mtx is held in __ieee80211_check_fast_rx_iface().
No need to use list_for_each_entry_rcu() as it also requires
a cond argument to avoid false lockdep warnings when not used in
RCU read-side section (with CONFIG_PROVE_RCU_LIST).
Therefore use list_for_each_entry();
Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
Link: https://lore.kernel.org/r/20200223143302.15390-1-madhuparnabhowmik10@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/ncsi')
0 files changed, 0 insertions, 0 deletions