Blob Blame Raw
diff -aurp open-iscsi-2.0-872-rc1-bnx2i/usr/be2iscsi.c open-iscsi-2.0-872-rc1-bnx2i.work/usr/be2iscsi.c
--- open-iscsi-2.0-872-rc1-bnx2i/usr/be2iscsi.c	2010-05-05 09:21:40.000000000 -0500
+++ open-iscsi-2.0-872-rc1-bnx2i.work/usr/be2iscsi.c	2010-05-05 09:21:52.000000000 -0500
@@ -24,11 +24,11 @@ void be2iscsi_create_conn(struct iscsi_c
 	if (conn->max_recv_dlength > 65536)
 		conn->max_recv_dlength = 65536;
 
-	if (conn->session->first_burst > 8192)
-		conn->session->first_burst = 8192;
+	if (session->first_burst > 8192)
+		session->first_burst = 8192;
 
-	if (conn->session->max_burst > 262144)
-		conn->session->max_burst = 262144;
+	if (session->max_burst > 262144)
+		session->max_burst = 262144;
 
 	if (conn->max_xmit_dlength > 65536)
 		conn->max_xmit_dlength = 65536;
@@ -37,5 +37,6 @@ void be2iscsi_create_conn(struct iscsi_c
 	    conn_rec->iscsi.MaxXmitDataSegmentLength > 65536)
 		conn_rec->iscsi.MaxXmitDataSegmentLength = 65536;
 
-	conn->session->erl = 0;
+	session->erl = 0;
+	session->initial_r2t_en = 1;
 }