summaryrefslogtreecommitdiff
path: root/drivers/scsi/libsas/sas_ata.c
diff options
context:
space:
mode:
authorMike Christie <michael.christie@oracle.com>2021-04-06 12:17:46 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2021-04-07 21:30:59 -0400
commit0dcf8febcb7b9d42bec98bc068e01d1a6ea578b8 (patch)
treecaed04189d781b756376f8a7e33cbc79f43e8aee /drivers/scsi/libsas/sas_ata.c
parent5cd0f6f57639c5afbb36100c69281fee82c95ee7 (diff)
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/sas_ata.c')
0 files changed, 0 insertions, 0 deletions