Mike Christie d473cc7f15 [SCSI] iscsi: Some fixes in preparation for bidirectional support - exp_datasn
This patch fixes handling of expected datasn/r2tsn as received from
target. It is done according to: T10 rfc3720 section 3.2.2.3. Data Sequencing.

. unify expected datasn/r2tsn into one counter
. calculate than check expected datasn/r2tsn. On error print a message
  and fail the request. (TODO use iscsi retransmits)
. remove the FIXME   ;)
. avoid zero length memset

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-06-01 12:57:17 -04:00
..
2007-05-30 23:57:05 -05:00
2007-04-01 10:10:04 -05:00
2006-09-12 17:12:31 -05:00
2006-09-12 17:12:31 -05:00
2007-05-27 15:05:10 -05:00
2007-05-06 09:33:11 -05:00
2007-05-09 08:57:56 +02:00
2007-05-31 17:30:04 -04:00
2007-05-31 17:30:04 -04:00
2006-08-06 15:59:26 -05:00
2006-11-15 16:41:27 -06:00
2006-09-12 17:12:31 -05:00
2006-11-22 14:57:56 +00:00
2007-05-30 23:57:05 -05:00
2007-05-24 09:14:41 -05:00
2007-05-24 09:14:41 -05:00
2007-05-31 17:30:04 -04:00
2007-05-30 23:57:05 -05:00
2007-05-30 23:57:05 -05:00
2006-09-12 17:12:31 -05:00
2006-11-30 05:24:39 +01:00
2007-05-24 09:13:25 -05:00
2007-05-24 09:13:25 -05:00
2007-01-27 09:28:58 -06:00
2007-04-17 18:15:04 -04:00
2007-02-09 09:14:07 -08:00
2006-11-22 14:57:56 +00:00
2007-03-11 11:17:49 -05:00
2007-05-30 23:57:05 -05:00
2007-01-03 16:57:38 -06:00
2007-05-28 09:08:32 -05:00
2007-04-17 18:15:04 -04:00
2006-03-23 07:38:09 -08:00
2007-04-17 18:15:04 -04:00
2007-05-30 23:57:05 -05:00
2007-05-31 17:30:04 -04:00
2006-11-15 16:43:50 -06:00