]> git.baikalelectronics.ru Git - kernel.git/commit
lpfc: Fix for discovery failure in PT2PT when FLOGI's ELS ACC response gets aborted
authorJames Smart <james.smart@avagotech.com>
Mon, 31 Aug 2015 20:48:18 +0000 (16:48 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Tue, 27 Oct 2015 01:18:59 +0000 (10:18 +0900)
commit3bbf9ee842748192aa0bb605a3295454e83b6986
tree0b74077df7f08835365b249a874503b07b077aad
parent108fa023d7f25c1c951ef2926183d3e5edce8fb0
lpfc: Fix for discovery failure in PT2PT when FLOGI's ELS ACC response gets aborted

Fix for discovery failure in PT2PT when FLOGI's ELS ACC response gets aborted

Change login state machine to:
- Restart FLOGI if prior is ABTS'd
- Reject incoming FLOGIs if we have one pending

The above ensures that we always finish FLOGI processing, regardless
of who initated FLOGI, before processing PLOGI's.

Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/lpfc/lpfc_els.c