[SCSI] lpfc 8.3.40: Fixed crash during FCoE failover testing.
authorJames Smart <james.smart@emulex.com>
Fri, 31 May 2013 21:03:18 +0000 (17:03 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 26 Jun 2013 17:48:40 +0000 (10:48 -0700)
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_scsi.c

index 8523b278ec9daf1c2d37ffedf08335b32701cb53..5d63dadbe0e1d026438e78828a3bee9c0c2883ca 100644 (file)
@@ -4074,7 +4074,8 @@ lpfc_scsi_cmd_iocb_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *pIocbIn,
                         cmd->device ? cmd->device->id : 0xffff,
                         cmd->device ? cmd->device->lun : 0xffff,
                         lpfc_cmd->status, lpfc_cmd->result,
-                        vport->fc_myDID, pnode->nlp_DID,
+                        vport->fc_myDID,
+                        (pnode) ? pnode->nlp_DID : 0,
                         phba->sli_rev == LPFC_SLI_REV4 ?
                             lpfc_cmd->cur_iocbq.sli4_xritag : 0xffff,
                         pIocbOut->iocb.ulpContext,
This page took 0.028708 seconds and 5 git commands to generate.