Fix potential memory corruption bug

Signed-off-by: James Smart <james.sm...@emulex.com>

 ---

 lpfc_sli.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff -upNr a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
--- a/drivers/scsi/lpfc/lpfc_sli.c      2013-01-02 13:13:05.944087718 -0500
+++ b/drivers/scsi/lpfc/lpfc_sli.c      2013-01-02 13:13:07.035087742 -0500
@@ -8370,7 +8370,7 @@ __lpfc_sli_issue_iocb_s4(struct lpfc_hba
                 * This is a continuation of a commandi,(CX) so this
                 * sglq is on the active list
                 */
-               sglq = __lpfc_get_active_sglq(phba, piocb->sli4_xritag);
+               sglq = __lpfc_get_active_sglq(phba, piocb->sli4_lxritag);
                if (!sglq)
                        return IOCB_ERROR;
        }




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

Reply via email to