]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: sta_info: Add lockdep condition for RCU list usage
authorMadhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
Thu, 9 Apr 2020 08:29:06 +0000 (13:59 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 24 Apr 2020 09:31:20 +0000 (11:31 +0200)
commitc5f4734105ae6fb147785b044b9c7a43409d7ff9
treed7ef27ab20d288e126be9cec3cafb816569ae223
parent479dd3078e7f471b78f796f2b2d71d8387b42195
mac80211: sta_info: Add lockdep condition for RCU list usage

The function sta_info_get_by_idx() uses RCU list primitive.
It is called with  local->sta_mtx held from mac80211/cfg.c.
Add lockdep expression to avoid any false positive RCU list warnings.

Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
Link: https://lore.kernel.org/r/20200409082906.27427-1-madhuparnabhowmik10@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c