Browse Source

[SCSI] lpfc 8.3.35: Fix error with fabric service parameters causing performance issues

Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
James Smart 12 years ago
parent
commit
2eb6862aaf
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/scsi/lpfc/lpfc_els.c

+ 2 - 0
drivers/scsi/lpfc/lpfc_els.c

@@ -809,6 +809,8 @@ lpfc_cmpl_els_flogi_nport(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp,
 	phba->fc_ratov = FF_DEF_RATOV;
 	rc = memcmp(&vport->fc_portname, &sp->portName,
 		    sizeof(vport->fc_portname));
+	memcpy(&phba->fc_fabparam, sp, sizeof(struct serv_parm));
+
 	if (rc >= 0) {
 		/* This side will initiate the PLOGI */
 		spin_lock_irq(shost->host_lock);