Ben Hutchings 3a9910d7b6 scsi: qla2xxx: Avoid double completion of abort command
qla2x00_tmf_sp_done() now deletes the timer that will run
qla2x00_tmf_iocb_timeout(), but doesn't check whether the timer already
expired.  Check the return value from del_timer() to avoid calling
complete() a second time.

Fixes: 4440e46d5db7 ("[SCSI] qla2xxx: Add IOCB Abort command asynchronous ...")
Fixes: 1514839b3664 ("scsi: qla2xxx: Fix NULL pointer crash due to active ...")
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-04-09 21:03:41 -04:00
..
2018-02-22 20:28:43 -05:00
2018-04-03 17:38:39 -07:00
2018-04-03 17:38:39 -07:00
2018-04-03 17:38:39 -07:00
2018-04-03 17:38:39 -07:00
2018-04-03 17:38:39 -07:00
2018-04-03 17:38:39 -07:00
2018-03-21 18:38:54 -04:00
2018-02-12 11:43:24 -05:00
2018-04-03 17:38:39 -07:00