projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
753e7d3
)
[SCSI] iscsi_tcp: update header size during relogin
author
Mike Christie
<michaelc@cs.wisc.edu>
Thu, 31 Aug 2006 22:09:30 +0000
(18:09 -0400)
committer
James Bottomley
<jejb@mulgrave.il.steeleye.com>
Sat, 2 Sep 2006 18:37:25 +0000
(13:37 -0500)
When we relogin to a target, we have not yet negotiated digests
so we must reset the hdr_size var.
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 541912a5b886c74a6650953863d29256e5909c33..5d292d0b65ec1cec4302806f003a0cfe43490f31 100644
(file)
--- a/
drivers/scsi/iscsi_tcp.c
+++ b/
drivers/scsi/iscsi_tcp.c
@@
-1827,9
+1827,11
@@
static void
iscsi_tcp_conn_stop(struct iscsi_cls_conn *cls_conn, int flag)
{
struct iscsi_conn *conn = cls_conn->dd_data;
+ struct iscsi_tcp_conn *tcp_conn = conn->dd_data;
iscsi_conn_stop(cls_conn, flag);
iscsi_tcp_release_conn(conn);
+ tcp_conn->hdr_size = sizeof(struct iscsi_hdr);
}
static int