]> git.baikalelectronics.ru Git - kernel.git/commit
lpfc: Correct LOGO handling during login
authorJames Smart <james.smart@broadcom.com>
Thu, 31 Mar 2016 21:12:27 +0000 (14:12 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 11 Apr 2016 20:57:09 +0000 (16:57 -0400)
commit3eda7dac424448fcd37fe95cfab479bbca3acf39
tree211a54bb2a682b80efd0edde24c427a0e9b0929d
parentf1bb5114aa88db7f127c8b6fef3a58c47a36296c
lpfc: Correct LOGO handling during login

After a link bounce, when a remote port issues a LOGO while a REGLOGIN
is pending on that port, the driver does not clean up the ndlp
structure. May result in stack traces in the console log.

Fix: Clear the NLP_REG_LOGIN_SEND flag on the ndlp in the routine

Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nportdisc.c
drivers/scsi/lpfc/lpfc_sli.c