]> err.no Git - linux-2.6/commit
[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)
commitffd0436ed2e5a741c8d30062b489b989acf0a526
tree037433a76a116c67d3f074c5a83305be8241a8e5
parente5b3cd42960a10c1bc3701d4f00767463c88ec9d
[SCSI] libiscsi, iscsi_tcp, iscsi_iser: check that burst lengths are valid.

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>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/infiniband/ulp/iser/iscsi_iser.h
drivers/scsi/iscsi_tcp.c
drivers/scsi/iscsi_tcp.h
drivers/scsi/libiscsi.c
include/scsi/libiscsi.h