scsi: libfc: reset exchange manager during LOGO handling
authorHannes Reinecke <hare@suse.de>
Fri, 5 Aug 2016 12:55:02 +0000 (14:55 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 19 Aug 2016 02:34:40 +0000 (22:34 -0400)
commit649eb8693857e9b9fca009fba4eb7e80f9f3a326
tree849b1bc378e1ae60ca8ef52f17aa7b6d623d9c05
parentd391966a03846176a78ef8d53898de8b4302a2be
scsi: libfc: reset exchange manager during LOGO handling

FC-LS mandates that we should invalidate all sequences before sending a
LOGO. And we should set the event to RPORT_EV_STOP when a LOGO request
has been received to signal that all exchanges are terminated.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Chad Dupuis <chad.dupuis@qlogic.com>
Tested-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libfc/fc_rport.c