[SCSI] iscsi bugfixes: handle data rsp errors
authorMike Christie <michaelc@cs.wisc.edu>
Mon, 24 Jul 2006 20:47:17 +0000 (15:47 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Fri, 28 Jul 2006 16:48:01 +0000 (11:48 -0500)
commit275fd7d129fdd16d1dc0ec6a8d60bd6b72a76e31
treee87776f201ceef9a53ec7c74ae65fe465d2e0829
parentb6c395ed0387c824ddf125d3b74b576a2575c149
[SCSI] iscsi bugfixes: handle data rsp errors

if iscsi_data_rsp fails we must bail out. Since the pdu values like
data length are invalid we cannot continue to process the data since
it could over run buffers.

This fixes a bug with cisco 5428s where that target is sending
too much data.

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