Commit:     c959e1c2a475e0ad0d24eff200de9b6dcb3710c6
Parent:     ddaf6fc85459d161c39a70a2cf9e04343dafe47f
Author:     Arne Redlich <[EMAIL PROTECTED]>
AuthorDate: Sun Dec 17 12:10:24 2006 -0600
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Sat Jan 6 08:59:23 2007 -0600

    [SCSI] iscsi: fix 2.6.19 data digest calculation bug
    The transition from crypto_digest_*() to  the crypto_hash_*() family
    introduced a bug into the data digest calculation: crypto_hash_update() is
    called with the number of S/G elements instead of the S/G lists data size.
    Signed-off-by: Arne Redlich <[EMAIL PROTECTED]>
    Signed-off-by: Mike Christie <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
 drivers/scsi/iscsi_tcp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c
index d0b139c..61e3a61 100644
--- a/drivers/scsi/iscsi_tcp.c
+++ b/drivers/scsi/iscsi_tcp.c
@@ -749,7 +749,7 @@ static int iscsi_scsi_data_in(struct iscsi_conn *conn)
                                if (!offset)
-                                                       &sg[i], 1);
+                                                       &sg[i], sg[i].length);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to