scsi: qla2xxx: allow session delete to finish before create.
authorQuinn Tran <quinn.tran@cavium.com>
Fri, 25 Jan 2019 07:23:45 +0000 (23:23 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 6 Feb 2019 02:41:16 +0000 (21:41 -0500)
commit1021f0bc2f3d6ac80a33aac0059dce8fd1622235
tree67b8cfafb4bb682cb67a4c534fec05c877aa0865
parent9ecd6564d1547d64fec464fdae75c82794c94c51
scsi: qla2xxx: allow session delete to finish before create.

This patch flushes del_work and free_work while sending NACK response for
PRLI

Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_target.c