scsi: libfc: wait for E_D_TOV when out-of-order sequence is received
authorHannes Reinecke <hare@suse.de>
Thu, 13 Oct 2016 13:10:54 +0000 (15:10 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:53 +0000 (17:29 -0500)
commit87da3b832e54bcee7fac220bec00ca42b931bab0
treec40a5b0f1b2f3dde0891acc799643d9aa49d3209
parentad3120cfe0c5dcd5aaa87a0f7c42d4b09a94fa12
scsi: libfc: wait for E_D_TOV when out-of-order sequence is received

When detecting an out-of-order sequence we should be waiting for
E_D_TOV before trying to abort the sequence.
The response might still be stuck in the queue somewhere.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libfc/fc_fcp.c