]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf47297d3e80ed5d61bb95ec24fedf51c4fe971e0
treedbe86f6760e85ec1764249c0901be8abea067709
parentc74289d382c259abc38a365827e10f1eba2407ca
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