projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baebc49
)
[SCSI] iscsi: fix ahs len
author
Mike Christie
<michaelc@cs.wisc.edu>
Tue, 13 Sep 2005 02:01:41 +0000
(21:01 -0500)
committer
James Bottomley
<jejb@mulgrave.(none)>
Tue, 20 Sep 2005 17:34:14 +0000
(12:34 -0500)
From: tomof@acm.org
Fix AHS Length
Signed-off-by: Alex Aizman <itn780@yahoo.com>
Signed-off-by: Dmitry Yusupov <dmitry_yus@yahoo.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/iscsi_tcp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/iscsi_tcp.c
b/drivers/scsi/iscsi_tcp.c
index baacf836083e4d9088481da1094c059135ea3940..13411ca3d64852a3593837bd0a97ad7beb955d47 100644
(file)
--- a/
drivers/scsi/iscsi_tcp.c
+++ b/
drivers/scsi/iscsi_tcp.c
@@
-557,7
+557,7
@@
iscsi_hdr_recv(struct iscsi_conn *conn)
conn->data_copied = 0;
/* read AHS */
- conn->in.ahslen = hdr->hlength
*(4*sizeof(__u16))
;
+ conn->in.ahslen = hdr->hlength
* 4
;
conn->in.offset += conn->in.ahslen;
conn->in.copy -= conn->in.ahslen;
if (conn->in.copy < 0) {