]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Set the qpair in SRB to NULL when SRB is released
authorGiridhar Malavali <gmalavali@marvell.com>
Tue, 2 Apr 2019 21:24:21 +0000 (14:24 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Apr 2019 03:11:36 +0000 (23:11 -0400)
commitf885c8ed3e2677d7265fb06a70f26838a55a4f02
tree9f4e3f445c7a3cdd4d2d4734abd25960ec7316e6
parent97f122bcef41e3bdd562ca6caf8343cef2a68a8d
scsi: qla2xxx: Set the qpair in SRB to NULL when SRB is released

This patch sets QPair pointer to NULL to prevent abort command racing ahead
of normal command completion handling during scsi_done call.

Signed-off-by: Giridhar Malavali <gmalavali@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_inline.h