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)
commitae6ccb0f8153fe9e3b9287a74aa9742ea212e89c
tree9f4e3f445c7a3cdd4d2d4734abd25960ec7316e6
parent740e29358e350077d18ee08700199e37b206edad
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