diff options
author | Shuah Khan <[email protected]> | 2021-04-06 17:02:28 -0600 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2021-04-22 16:59:56 +0300 |
commit | eaaf52e4b866f265eb791897d622961293fd48c1 (patch) | |
tree | 4ad908cc5e7060f08c30e87691dc4fcf0d3520f8 /tools/perf/scripts/python/sched-migration.py | |
parent | 8392df5d7e0b6a7d21440da1fc259f9938f4dec3 (diff) |
ath10k: Fix ath10k_wmi_tlv_op_pull_peer_stats_info() unlock without lock
ath10k_wmi_tlv_op_pull_peer_stats_info() could try to unlock RCU lock
winthout locking it first when peer reason doesn't match the valid
cases for this function.
Add a default case to return without unlocking.
Fixes: 09078368d516 ("ath10k: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()")
Reported-by: Pavel Machek <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions