[SCSI] libiscsi, iscsi_tcp, iscsi_iser: check that burst lengths are valid.
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 31 Aug 2006 22:09:24 +0000 (18:09 -0400)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 2 Sep 2006 18:37:04 +0000 (13:37 -0500)
iSCSI RFC states that the first burst length must be smaller than the
max burst length. We currently assume targets will be good, but that may
not be the case, so this patch adds a check.

This patch also moves the unsol data out offset to the lib so the LLDs
do not have to track it.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>

No differences found