Revert "scsi: fcoe: clear FC_RP_STARTED flags when receiving a LOGO"
authorSaurav Kashyap <skashyap@marvell.com>
Thu, 18 Apr 2019 10:40:12 +0000 (03:40 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 19 Apr 2019 00:40:00 +0000 (20:40 -0400)
commit0228034d8e5915b98c33db35a98f5e909e848ae9
tree05047da72bd45353add857cbe74b5fb5d7b6869a
parentbe549d49115422f846b6d96ee8fd7173a5f7ceb0
Revert "scsi: fcoe: clear FC_RP_STARTED flags when receiving a LOGO"

This patch clears FC_RP_STARTED flag during logoff, because of this
re-login(flogi) didn't happen to the switch.

This reverts commit 1550ec458e0cf1a40a170ab1f4c46e3f52860f65.

Fixes: 1550ec458e0c ("scsi: fcoe: clear FC_RP_STARTED flags when receiving a LOGO")
Cc: <stable@vger.kernel.org> # v4.18+
Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Reviewed-by: Hannes Reinecke <hare@#suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libfc/fc_rport.c