summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKe Huang <keh@codeaurora.org>2018-09-17 16:31:12 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-09-18 02:24:11 -0700
commit35653ce7bdf915dce5bac90de34b165682b8a8ac (patch)
tree740983cef1afaf4bf3f78c286ddb06e5f735a8f6 /tools/perf/scripts/python
parentda29ebb2754677bdd480ad2f0ee341bb0d31a1b4 (diff)
qcacld-2.0: Fix wrong kernel address access issue
this issue is caused by the completion cancel_rem_on_chan_var missed to be reinit and make the wait_for_completion_timeout return abnormally( cancel_rem_on_chan_var not complete but wait_for_completion_timeout not timeout), so cause hdd_remain_on_chan_timer failed to stop or cancel when qcacld-2.0 driver unload, and cause this timer callback function is called by kernel when timer expired, but this timer callback function address is invalid after qcacld-2.0 driver unload in this case. So add the completion cancel_rem_on_chan_var reinit before it is used by wait_for_completion_timeout and make it timeout normally when driver unload and make the hdd_remain_on_chan_timer stop successfully. Change-Id: I34ae93d9a76a3e8caa06d9f67f6406f0e293884a CRs-Fixed: 2241138
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions