]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Fix PLOGI ACC to be transmit after REG_LOGIN
authorJames Smart <jsmart2021@gmail.com>
Mon, 1 Mar 2021 17:18:12 +0000 (09:18 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Mar 2021 22:37:05 +0000 (17:37 -0500)
commitcba9d894dd1b64ec8444be5afed50c5e73b98801
tree8cc2f9ce5de71ac4ee749e74926ef569eb9b053e
parent2d1ab4cd2f390200980c4fcfc48327eef4698ff7
scsi: lpfc: Fix PLOGI ACC to be transmit after REG_LOGIN

The driver is seeing a scenario where PLOGI response was issued and traffic
is arriving while the adapter is still setting up the login context. This
is resulting in errors handling the traffic.

Change the driver so that PLOGI response is sent after the login context
has been setup to avoid the situation.

Link: https://lore.kernel.org/r/20210301171821.3427-14-jsmart2021@gmail.com
Co-developed-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nportdisc.c