[SCSI] libiscsi: fix cmd seqeunce number checking
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 26 Jul 2007 17:46:48 +0000 (12:46 -0500)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 27 Jul 2007 13:12:05 +0000 (09:12 -0400)
commite07264071f7f2b02a2973cb28d9fdf5eb8866cc1
tree25ca60eeb25dbb519428d3e4bbea77d978e5a4a1
parent7974392c0b0d4e7a2a17ca3597d51a29b9841aa5
[SCSI] libiscsi: fix cmd seqeunce number checking

We should not be checking the cmd windown for just handling r2t responses.
And if the window closes in on us, always have scsi-ml requeue the command
from our queuecommand function.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libiscsi.c
include/scsi/libiscsi.h