diff options
author | James Smart <james.smart@broadcom.com> | 2016-12-19 15:07:23 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-21 09:01:06 +0100 |
commit | e7fc5d22fae5904b7ce7915456360e824fafefab (patch) | |
tree | e8f4ebb2a0c66d9a639d15425c6d6ffc6e2061a2 /drivers/scsi | |
parent | c0e8131e652c48f44090e0d3df592b2cee04b4e4 (diff) | |
download | linux-stable-e7fc5d22fae5904b7ce7915456360e824fafefab.tar.gz linux-stable-e7fc5d22fae5904b7ce7915456360e824fafefab.tar.bz2 linux-stable-e7fc5d22fae5904b7ce7915456360e824fafefab.zip |
scsi: lpfc: Correct issue leading to oops during link reset
[ 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_sli.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index 42236ef89ab0..fb7dc27a2e1c 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c @@ -9774,6 +9774,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, " |