Page MenuHomeFreeBSD

D32605.diff
No OneTemporary

D32605.diff

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

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)

Event Timeline