[SCSI] lpfc 8.3.37: Fix potential memory corruption bug

Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
James Smart 2013-01-03 15:43:45 -05:00 коммит произвёл James Bottomley
Родитель 6dd9e31ccb
Коммит edccdc17d6
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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 * This is a continuation of a commandi,(CX) so this
* sglq is on the active list * 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) if (!sglq)
return IOCB_ERROR; return IOCB_ERROR;
} }