]> err.no Git - linux-2.6/commit
[SCSI] iscsi_tcp: fix partial digest recv
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 31 Aug 2006 22:09:32 +0000 (18:09 -0400)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 2 Sep 2006 18:37:32 +0000 (13:37 -0500)
commitca5186842a6d85e982e3d572ecd407453d0c5116
tree6eb680933750cf330308ab2c748a3d0e85c30c53
parentdb98ccde0881b8247acb52dece6d94ed770a7aa5
[SCSI] iscsi_tcp: fix partial digest recv

When a digest is spread across two network buffers, we currently
ignore this and try to check the digest with the partial buffer.
Or course this fails. This patch has use iscsi_tcp_copy to
copy the whole digest before testing it.

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