summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas
diff options
context:
space:
mode:
authorMike Christie <michael.christie@oracle.com>2021-04-06 19:17:46 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2021-04-08 03:30:59 +0200
commit0dcf8febcb7b9d42bec98bc068e01d1a6ea578b8 (patch)
treecaed04189d781b756376f8a7e33cbc79f43e8aee /drivers/scsi/libsas
parentscsi: scsi_transport_srp: Don't block target in SRP_PORT_LOST state (diff)
downloadlinux-0dcf8febcb7b9d42bec98bc068e01d1a6ea578b8.tar.xz
linux-0dcf8febcb7b9d42bec98bc068e01d1a6ea578b8.zip
scsi: iscsi: Fix iSCSI cls conn state
In commit 9e67600ed6b8 ("scsi: iscsi: Fix race condition between login and sync thread") I missed that libiscsi was now setting the iSCSI class state, and that patch ended up resetting the state during conn stoppage and using the wrong state value during ep_disconnect. This patch moves the setting of the class state to the class module and then fixes the two issues above. Link: https://lore.kernel.org/r/20210406171746.5016-1-michael.christie@oracle.com Fixes: 9e67600ed6b8 ("scsi: iscsi: Fix race condition between login and sync thread") Cc: Gulam Mohamed <gulam.mohamed@oracle.com> Signed-off-by: Mike Christie <michael.christie@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libsas')
0 files changed, 0 insertions, 0 deletions