From: James Smart Date: Thu, 3 Jan 2013 20:43:45 +0000 (-0500) Subject: [SCSI] lpfc 8.3.37: Fix potential memory corruption bug X-Git-Tag: next-20130218~72^2~27 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=edccdc17d6db65ed3b2d480d9b011f87a50a7daa;p=karo-tx-linux.git [SCSI] lpfc 8.3.37: Fix potential memory corruption bug Signed-off-by: James Smart Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index bf32da9cfe84..c997b919b6fe 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c @@ -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; }