diff options
author | James Smart | 2018-04-09 14:24:27 -0700 |
---|---|---|
committer | Martin K. Petersen | 2018-04-18 19:34:04 -0400 |
commit | 01466024d2de1c05652d69411461e8e7908f0d1e (patch) | |
tree | a1c0c6a70f1a0fb0da29af9a8e2358952bc905f2 /drivers/scsi/pcmcia/nsp_message.c | |
parent | 0cdb84ec26e455326a8ee1b7c69ce1c281ba38cb (diff) |
scsi: lpfc: Fix NULL pointer access in lpfc_nvme_info_show
After making remoteport unregister requests, the ndlp nrport pointer was
stale.
Track when waiting for waiting for unregister completion callback and
adjust nldp pointer assignment. Add a few safety checks for NULL
pointer values.
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>
Diffstat (limited to 'drivers/scsi/pcmcia/nsp_message.c')
0 files changed, 0 insertions, 0 deletions