]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: iscsi: Clean up bound endpoints during shutdown
authorMike Christie <michael.christie@oracle.com>
Thu, 16 Jun 2022 22:27:35 +0000 (17:27 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Jun 2022 01:14:53 +0000 (21:14 -0400)
commit432f8eb5974bccad2c68617488993d20ebbf0465
tree44e329157060c86e22d04cc597bcc45199ec9216
parent14dbaa0507e50825bb8872cbeac6e82f68bc64cf
scsi: iscsi: Clean up bound endpoints during shutdown

In the next patch we allow drivers to drive session removal during
shutdown. In this case iscsid will not be running, so we need to detect
bound endpoints and disconnect them. This moves the bound ep check so we
now always check.

Link: https://lore.kernel.org/r/20220616222738.5722-4-michael.christie@oracle.com
Tested-by: Nilesh Javali <njavali@marvell.com>
Reviewed-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_transport_iscsi.c