scsi: qla2xxx: edif: Tear down session if keys have been removed
authorQuinn Tran <qutran@marvell.com>
Wed, 8 Jun 2022 11:58:44 +0000 (04:58 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 10 Jun 2022 17:04:04 +0000 (13:04 -0400)
commitd7e2e4a68fc047a025afcd200e6b7e1fbc8b1999
tree16fc092de5055b47ff5bd93630c1c2848f8b7b9e
parent24c796098f5395477f7f7ebf8e24f3f08a139f71
scsi: qla2xxx: edif: Tear down session if keys have been removed

If all keys for a session have been deleted, trigger a session teardown.

Link: https://lore.kernel.org/r/20220608115849.16693-6-njavali@marvell.com
Fixes: dd30706e73b7 ("scsi: qla2xxx: edif: Add key update")
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_isr.c