diff options
| author | Bart Van Assche <[email protected]> | 2019-04-17 21:44:35 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-04-29 21:24:51 +0000 |
| commit | 219d27d7147e07fe899a781bd72f9180b78c3852 (patch) | |
| tree | 6e5335018bb6da9bdaf457a810ca5bfd65dbf2a6 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | scsi: qla2xxx: Use an on-stack completion in qla24xx_control_vp() (diff) | |
| download | kernel-219d27d7147e07fe899a781bd72f9180b78c3852.tar.gz kernel-219d27d7147e07fe899a781bd72f9180b78c3852.zip | |
scsi: qla2xxx: Fix race conditions in the code for aborting SCSI commands
In the *_done() functions, instead of returning early if sp->ref_count >=
2, only decrement sp->ref_count. In qla2xxx_eh_abort(), instead of deciding
what to do based on the value of sp->ref_count, decide which action to take
depending on the completion status of the firmware abort. Remove srb.cwaitq
and use srb.comp instead. In qla2x00_abort_srb(), call
isp_ops->abort_command() directly instead of calling qla2xxx_eh_abort().
Cc: Himanshu Madhani <[email protected]>
Cc: Giridhar Malavali <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Acked-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
