]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/scsi/lpfc/lpfc_nportdisc.c
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)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:21:04 +0000 (14:21 -0300)
commitd9ede55cafff7dc8ea33ee95a81bea1abfbac131
tree345d7d0db69a3a88a88efe65750e0ed62efacf9f
parentb917f53bfa5b3adceb4f0ed45d3d185518d282b2
scsi: lpfc: Correct loss of fc4 type on remote port address change

BugLink: https://bugs.launchpad.net/bugs/1854975
[ Upstream commit d83ca3ea833d7a66d49225e4191c4e37cab8f079 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_nportdisc.c