]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[SCSI] lpfc 8.3.37: Fix potential memory corruption bug
authorJames Smart <james.smart@emulex.com>
Thu, 3 Jan 2013 20:43:45 +0000 (15:43 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 30 Jan 2013 00:24:59 +0000 (11:24 +1100)
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_sli.c

index bf32da9cfe84575a926e7bf3b38b51a125ea1fd5..c997b919b6fe5ad5f0a14f7af4f9c3d57584dc4c 100644 (file)
@@ -8370,7 +8370,7 @@ __lpfc_sli_issue_iocb_s4(struct lpfc_hba *phba, uint32_t ring_number,
                 * 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;
        }