aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorBen Hutchings <[email protected]>2018-03-20 21:36:14 +0000
committerMartin K. Petersen <[email protected]>2018-04-10 01:04:36 +0000
commite74e7d95878d7993cf56c801d55d78f16ea58d1d (patch)
tree67ee854ff12dd8a2f4d6b24c84312902fa86ea4d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentscsi: qla2xxx: Avoid double completion of abort command (diff)
downloadkernel-e74e7d95878d7993cf56c801d55d78f16ea58d1d.tar.gz
kernel-e74e7d95878d7993cf56c801d55d78f16ea58d1d.zip
scsi: qla2xxx: Fix race condition between iocb timeout and initialisation
qla2x00_init_timer() calls add_timer() on the iocb timeout timer, which means the timeout function pointer and any data that the function depends on must be initialised beforehand. Move this initialisation before each call to qla2x00_init_timer(). In some cases qla2x00_init_timer() initialises a completion structure needed by the timeout function, so move the call to add_timer() after that. Signed-off-by: Ben Hutchings <[email protected]> Acked-by: Himanshu Madhani <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions