diff options
author | James Smart <james.smart@emulex.com> | 2012-09-29 11:32:27 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-10-08 12:13:51 +0100 |
commit | 2eb6862aaf7ea0685c997d833c3890dae2f94a62 (patch) | |
tree | c2fddcecb0c326ca767c442375293304312bff60 /drivers/scsi | |
parent | 4169d868bef8440eaa1e08abfdc205d1269bf9d1 (diff) | |
download | op-kernel-dev-2eb6862aaf7ea0685c997d833c3890dae2f94a62.zip op-kernel-dev-2eb6862aaf7ea0685c997d833c3890dae2f94a62.tar.gz |
[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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_els.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c index c23f641..f19e9b6 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); |