summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAshish Kumar Dhanotiya <adhanoti@codeaurora.org>2018-05-01 12:42:46 +0530
committernshrivas <nshrivas@codeaurora.org>2018-05-04 02:48:07 -0700
commita9af16d9821c609810b9c06e47f56c106a39f8b5 (patch)
tree2fdb60d7681d51d84fdf767310056781da20daa3 /tools/perf/scripts/python
parenta9e184c96cae0001fa6f2f5290710f30bf754ab6 (diff)
qcacld-3.0: Disable hdd_wmm_inactivity timer
Currently api hdd_wmm_free_context free the hdd_wmm context and this api is getting invoked from several places without disabling the inactivity timer. Since the timer is not disabled, when hdd_wmm_inactivity_timer_cb is invoked it tries to access the hdd_wmm context which is already freed and the memory is reallocated to someone else resulting to undefined behaviour. To address this issue, disable hdd_wmm_inactivity timer before calling hdd_wmm_free_context function and add a check for hdd_wmm context in hdd_wmm_inactivity_timer_cb, if hdd_wmm context is NULL don't proceed further and return. Change-Id: Ib085c70b3e5a57b5cd494bc2cd21edd0580c16c4 CRs-Fixed: 2233987
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions