diff options
author | James Smart <jsmart2021@gmail.com> | 2017-11-20 16:00:37 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-12-04 20:32:54 -0500 |
commit | b7e50c536e8e4c6d4c74a1d54a0ce33edbf9dd0a (patch) | |
tree | bc9510e09dc21aa5be3b87af27e6362346ecca21 /drivers/scsi/lpfc/lpfc_hbadisc.c | |
parent | bcb24f6577b9461267f350d11e1bb6dda470f241 (diff) | |
download | linux-b7e50c536e8e4c6d4c74a1d54a0ce33edbf9dd0a.tar.gz linux-b7e50c536e8e4c6d4c74a1d54a0ce33edbf9dd0a.tar.bz2 linux-b7e50c536e8e4c6d4c74a1d54a0ce33edbf9dd0a.zip |
scsi: lpfc: Fix ndlp ref count for pt2pt mode issue RSCN
pt2pt ndlp ref count prematurely goes to 0. There was reference removed
that should only be removed if connected to a switch, not if in
point-to-point mode.
Add a mode check before the reference remove.
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/lpfc/lpfc_hbadisc.c')
0 files changed, 0 insertions, 0 deletions