Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102952820
D32605.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
831 B
Referenced Files
None
Subscribers
None
D32605.diff
View Options
diff --git a/usr.sbin/iscsid/login.c b/usr.sbin/iscsid/login.c
--- a/usr.sbin/iscsid/login.c
+++ b/usr.sbin/iscsid/login.c
@@ -403,9 +403,6 @@
tmp = isl->isl_max_send_data_segment_length;
}
conn->conn_max_send_data_segment_length = tmp;
- /* We received target's limit, that means it accepted our's. */
- conn->conn_max_recv_data_segment_length =
- isl->isl_max_recv_data_segment_length;
} else if (strcmp(name, "MaxBurstLength") == 0) {
tmp = strtoul(value, NULL, 10);
if (tmp <= 0)
@@ -538,6 +535,9 @@
isl->isl_max_recv_data_segment_length);
}
+ conn->conn_max_recv_data_segment_length =
+ isl->isl_max_recv_data_segment_length;
+
keys_add(request_keys, "DefaultTime2Wait", "0");
keys_add(request_keys, "DefaultTime2Retain", "0");
keys_add(request_keys, "ErrorRecoveryLevel", "0");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 20, 3:34 AM (22 h, 4 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14729456
Default Alt Text
D32605.diff (831 B)
Attached To
Mode
D32605: iscsid: set max_recv_data_segment_length to what we advertise
Attached
Detach File
Event Timeline
Log In to Comment