On Sat, 7 Apr 2018 11:30:19 -0700 James Smart <jsmart2021@xxxxxxxxx> wrote: > 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@xxxxxxxxxxxx> > Signed-off-by: James Smart <james.smart@xxxxxxxxxxxx> > --- > drivers/scsi/lpfc/lpfc_attr.c | 16 ++++++++++++---- > drivers/scsi/lpfc/lpfc_debugfs.c | 8 ++++++-- > drivers/scsi/lpfc/lpfc_nvme.c | 13 +++++++++---- > drivers/scsi/lpfc/lpfc_nvme.h | 4 ++++ > 4 files changed, 31 insertions(+), 10 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes