aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorGiridhar Malavali <[email protected]>2019-04-02 14:24:20 -0700
committerMartin K. Petersen <[email protected]>2019-04-03 23:11:36 -0400
commit740e29358e350077d18ee08700199e37b206edad (patch)
treebc48bc493ee1e9c3cc85165d4908f1d89967baf3 /tools/perf/scripts/python/sched-migration.py
parentd6d189ceab75560e312ffefe6e8d423a5c3aa0e6 (diff)
scsi: qla2xxx: Set the SCSI command result before calling the command done
This patch tries to address race condition between abort handler and completion handler. When scsi command result is set by both abort and completion handler, scsi_done() is only called after refcount on SRB structure goes to zero. The abort handler sets this result prematurely even when the refcount is non-zero value. Fix this by setting SCSI cmd->result before scsi_done() is called. Signed-off-by: Giridhar Malavali <[email protected]> Signed-off-by: Himanshu Madhani <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions