The state machine of local port is freezed if it could not get ready,
so thawing is necessary.
Signed-off-by: Hillf Danton <dhillf@xxxxxxxxx>
---
--- a/drivers/scsi/libfc/fc_lport.c 2010-11-01 19:54:12.000000000 +0800
+++ b/drivers/scsi/libfc/fc_lport.c 2010-12-17 00:08:06.000000000 +0800
@@ -1514,11 +1514,11 @@ void fc_lport_enter_flogi(struct fc_lpor
fc_lport_state_enter(lport, LPORT_ST_FLOGI);
- if (lport->point_to_multipoint) {
- if (lport->port_id)
+ if (lport->point_to_multipoint)
+ if (lport->port_id) {
fc_lport_enter_ready(lport);
- return;
- }
+ return;
+ }
fp = fc_frame_alloc(lport, sizeof(struct fc_els_flogi));
if (!fp)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[SCSI Target Devel]
[Linux SCSI Target Infrastructure]
[Kernel Newbies]
[Share Photos]
[IDE]
[Security]
[Git]
[Netfilter]
[Bugtraq]
[Photos]
[Yosemite]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Linux ATA RAID]
[Linux IIO]
[Samba]
[Video 4 Linux]
[Device Mapper]
[Linux Resources]