summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pm8001/pm8001_hwi.c
diff options
context:
space:
mode:
authorSteffen Maier <maier@linux.ibm.com>2021-07-02 18:09:22 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2021-07-13 03:51:50 +0200
commit8b3bdd99c092bbaeaa7d9eecb1a3e5dc9112002b (patch)
tree33df1b20947751230c8dd4de1be38cd9bf95a6f9 /drivers/scsi/pm8001/pm8001_hwi.c
parentscsi: core: Fix bad pointer dereference when ehandler kthread is invalid (diff)
downloadlinux-8b3bdd99c092bbaeaa7d9eecb1a3e5dc9112002b.tar.xz
linux-8b3bdd99c092bbaeaa7d9eecb1a3e5dc9112002b.zip
scsi: zfcp: Report port fc_security as unknown early during remote cable pull
On remote cable pull, a zfcp_port keeps its status and only gets ZFCP_STATUS_PORT_LINK_TEST added. Only after an ADISC timeout, we would actually start port recovery and remove ZFCP_STATUS_COMMON_UNBLOCKED which zfcp_sysfs_port_fc_security_show() detected and reported as "unknown" instead of the old and possibly stale zfcp_port->connection_info. Add check for ZFCP_STATUS_PORT_LINK_TEST for timely "unknown" report. Link: https://lore.kernel.org/r/20210702160922.2667874-1-maier@linux.ibm.com Fixes: a17c78460093 ("scsi: zfcp: report FC Endpoint Security in sysfs") Cc: <stable@vger.kernel.org> #5.7+ Reviewed-by: Benjamin Block <bblock@linux.ibm.com> Signed-off-by: Steffen Maier <maier@linux.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/pm8001/pm8001_hwi.c')
0 files changed, 0 insertions, 0 deletions