cfg80211: Pass lockdep expression to RCU lists
authorAmol Grover <frextrite@gmail.com>
Wed, 19 Feb 2020 09:11:04 +0000 (14:41 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 21 Feb 2020 11:11:30 +0000 (12:11 +0100)
commit3ee9306b353bdd0c0cd7cd3a549233e1ad44b608
tree6c53a398806c2da8365b3aa31e05977d29288f50
parent92df9f8a745ee9b8cc250514272345cb2e74e7ef
cfg80211: Pass lockdep expression to RCU lists

rdev->sched_scan_req_list maybe traversed using list_for_each_entry_rcu
outside an RCU read-side critical section but under the protection
of rtnl_mutex.

Hence, add corresponding lockdep expression to silence false-positive
warnings, and harden RCU lists.

Signed-off-by: Amol Grover <frextrite@gmail.com>
Link: https://lore.kernel.org/r/20200219091102.10709-1-frextrite@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c