summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSourav Mohapatra <mohapatr@codeaurora.org>2018-11-23 10:22:53 +0530
committernshrivas <nshrivas@codeaurora.org>2018-11-29 06:36:37 -0800
commitb790eb780b17436d1249ab76f5e9660b1643ce96 (patch)
tree8f54c979dae30784bd7b8340bce7ae3f7296f21d /tools/perf/scripts/python
parent0bfbd38a854601292997e07f68ec5abc6b42561d (diff)
qcacld-3.0: Maintain order of flushing iface_idle_work
Presently as part of the wificond, interface down is getting serviced by hdd_stop. Concurrently as part of the “rmmod” the driver tries to flush the idle work. Before the hdd_stop is completed in the rmmod context the driver unregisters with platform driver. It waits for the external threads completion in the __hdd_wlan_exit and once all the external threads are completed the hdd_exit completes till the module unload and the frees the hdd context. The iface_idle_work which got scheduled from the hdd_stop tries to execute which can result in the “use-after-free”. Solution is to flush the work again after waiting for the external threads. Change-Id: I3d4fa28ff311128a72e46632a74ed2b193ad9f2c CRs-Fixed: 2353979
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions