scsi: qla2xxx: Fix abort timeout race condition.
authorQuinn Tran <qutran@marvell.com>
Fri, 26 Jul 2019 16:07:28 +0000 (09:07 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 30 Jul 2019 20:12:02 +0000 (16:12 -0400)
commit0c6df59061b23c7a951836d23977be34e896d3da
tree8ec49c62a7d173e0eed7c3019e6caef37dd6a926
parentd376dbda187317d06d3a2d495b43a7983e4a3250
scsi: qla2xxx: Fix abort timeout race condition.

If an abort times out, the Abort IOCB completion and Abort timer can race
against each other. This patch provides unique error code for timer path to
allow proper cleanup.

[mkp: typo]

Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_init.c