OSDN Git Service

scsi: lpfc: Correct loss of fc4 type on remote port address change
authorJames Smart <jsmart2021@gmail.com>
Tue, 23 Oct 2018 20:41:09 +0000 (13:41 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 7 Nov 2018 01:42:51 +0000 (20:42 -0500)
commitd83ca3ea833d7a66d49225e4191c4e37cab8f079
treedbe86f6760e85ec1764249c0901be8abea067709
parentd496b9a7246cb9813da1fe49e14edbbbf8e232d5
scsi: lpfc: Correct loss of fc4 type on remote port address change

An address change for a remote port cause PRLI for the wrong protocol
to be sent.  The node copy done in the discovery code skipped copying
the fc4 protocols supported as well.

Fix the copy logic for the address change.  Beefed up log messages in
this area as well.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_nportdisc.c