Re: [PATCH 07/14] lpfc: Fix NULL pointer access in lpfc_nvme_info_show

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux