]> git.baikalelectronics.ru Git - kernel.git/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)
commit8621d7207b136b089429775eba6160bca929a82d
treecdc4646cc1d20f16bea893fb366f24c3ea50f0af
parent834e164dee875b711c2c22221a5b42ff1d8759a5
[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