]> err.no Git - linux-2.6/commit
[SCSI] iscsi tcp: fix iscsi xmit state machine
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 30 May 2007 17:57:17 +0000 (12:57 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Fri, 1 Jun 2007 16:59:26 +0000 (12:59 -0400)
commit218432c68085d6c2b04df57daaf105d2ffa2aa61
treecdc4646cc1d20f16bea893fb366f24c3ea50f0af
parentb2c6416736b847b91950bd43cc5153e11a1f83ee
[SCSI] iscsi tcp: fix iscsi xmit state machine

If iscsi_tcp partially sends a header, it would recalculate the
header size and readd the size of the digest (if header digests
are used).This would cause us to send sizeof(digest) extra bytes
when we sent the rest of the header.

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