diff options
| author | Ke Huang <keh@codeaurora.org> | 2018-11-27 17:24:01 +0800 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-11-29 22:23:14 -0800 |
| commit | b6bf6098e3d68fba1c945638214dad190a1c9bdf (patch) | |
| tree | a637555b2a1456eeafe38421c1987378877e7ffa /tools/perf/scripts/python | |
| parent | adfd6fdb9127916a55ddda0ee28e0783f5a8c105 (diff) | |
qcacld-3.0: Fix wrong kernel address access issue
qcacld-2.0 to qcacld-3.0 Propagation.
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.
CRs-Fixed: 2241138
Change-Id: I34ae93d9a76a3e8caa06d9f67f6406f0e293884a
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
