Skip to content
Commit 253216ff authored by Madhuparna Bhowmik's avatar Madhuparna Bhowmik Committed by Johannes Berg
Browse files

mac80211: rx: avoid RCU list traversal under mutex



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: default avatarMadhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
Link: https://lore.kernel.org/r/20200223143302.15390-1-madhuparnabhowmik10@gmail.com


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent e3ae39ed
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment