summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2012-09-29 11:32:27 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-10-08 12:13:51 +0100
commit2eb6862aaf7ea0685c997d833c3890dae2f94a62 (patch)
treec2fddcecb0c326ca767c442375293304312bff60
parent4169d868bef8440eaa1e08abfdc205d1269bf9d1 (diff)
downloadblackbird-op-linux-2eb6862aaf7ea0685c997d833c3890dae2f94a62.tar.gz
blackbird-op-linux-2eb6862aaf7ea0685c997d833c3890dae2f94a62.zip
[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>
-rw-r--r--drivers/scsi/lpfc/lpfc_els.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
index c23f6415f76d..f19e9b6f9f13 100644
--- a/drivers/scsi/lpfc/lpfc_els.c
+++ b/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);
OpenPOWER on IntegriCloud