forked from Minki/linux
[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:
parent
6dd9e31ccb
commit
edccdc17d6
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user