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-21 09:18:19 -07:00
2007-05-30 23:57:05 -05:00
2007-05-27 23:21:01 +02:00
2007-05-24 02:42:39 +02:00
2007-05-21 09:18:19 -07:00
2007-05-30 23:57:05 -05:00
2007-05-17 05:23:04 -07:00
2007-05-30 10:00:16 -04:00
2007-05-21 09:18:19 -07:00
2007-05-16 21:19:15 -07:00
2007-05-21 09:18:19 -07:00
2007-05-08 13:37:51 +10:00
2007-05-17 05:23:05 -07:00
2007-05-23 20:14:15 -07:00
2007-05-23 20:14:13 -07:00