]> git.hungrycats.org Git - linux/commitdiff
scsi: lpfc: Correct issue leading to oops during link reset
authorJames Smart <james.smart@broadcom.com>
Mon, 19 Dec 2016 23:07:23 +0000 (15:07 -0800)
committerSasha Levin <alexander.levin@verizon.com>
Thu, 7 Dec 2017 02:20:11 +0000 (21:20 -0500)
[ Upstream commit e6c6acc0e0223ddaf867628d420ee196349c6fae ]

Correct issue leading to oops during link reset. Missing vport pointer.

[mkp: fixed typo]

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
drivers/scsi/lpfc/lpfc_sli.c

index e66cf5b496bb2e4be480c27e04eafd597249357f..7ca27e5ef0797cfcc02c2e91b5ddd9f233701b58 100644 (file)
@@ -9825,6 +9825,7 @@ lpfc_sli_abort_iotag_issue(struct lpfc_hba *phba, struct lpfc_sli_ring *pring,
                iabt->ulpCommand = CMD_CLOSE_XRI_CN;
 
        abtsiocbp->iocb_cmpl = lpfc_sli_abort_els_cmpl;
+       abtsiocbp->vport = vport;
 
        lpfc_printf_vlog(vport, KERN_INFO, LOG_SLI,
                         "0339 Abort xri x%x, original iotag x%x, "