Fix error with fabric service parameters causing performance issues

Signed-off-by: James Smart <[email protected]>

 ---

 lpfc_els.c |    2 ++
 1 file changed, 2 insertions(+)


diff -upNr a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
--- a/drivers/scsi/lpfc/lpfc_els.c      2012-09-26 21:11:41.195154018 -0400
+++ b/drivers/scsi/lpfc/lpfc_els.c      2012-09-26 21:11:59.119154426 -0400
@@ -809,6 +809,8 @@ lpfc_cmpl_els_flogi_nport(struct lpfc_vp
        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);



--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to