mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
scsi: qla2xxx: Avoid double completion of abort command
commit3a9910d7b6upstream. 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:4440e46d5d("[SCSI] qla2xxx: Add IOCB Abort command asynchronous ...") Fixes:1514839b36("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> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
7191508c1f
commit
ec1cefb64e
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue