summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVignesh Viswanathan <viswanat@codeaurora.org>2018-05-01 12:04:16 +0530
committernshrivas <nshrivas@codeaurora.org>2018-05-07 07:09:12 -0700
commitb3741a03e3f9064db0ddbda21f250dca82f92e14 (patch)
tree01f7c09a8b9863f083d29dbd25477522ad42ce36 /tools/perf/scripts/python
parent285c95370b4c42e53a5c8439f83eb9efa2b2a7c0 (diff)
qcacld-3.0: Acquire SME lock before csr_roam_offload_scan from SME
In a scenario where the below two HDD commands from different threads being processed, 1. Disconnect which does an RSO Stop and free the pCurRoamProfile 2. Set Blacklist BSSID which does and RSO Update and accessed the pCurRoamProfile pCurRoamProfile is accessed in the function csr_roam_offload_scan after is freed from the other context. The Disconnect command from HDD is protected under the global SME lock, however, the set blacklist BSSID path is not protected under SME lock. There are multiple instances where csr_roam_offload_scan is called without the SME lock which could lead to similar issues. Acquire SME lock before csr_roam_offload_scan from callers in SME/HDD which can be from other threads. Change-Id: I9666bab0001b56ec01dcf1df0becb36344fb6f9a CRs-Fixed: 2226423
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions