Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102952169
D32651.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
924 B
Referenced Files
None
Subscribers
None
D32651.diff
View Options
diff --git a/usr.sbin/ctld/login.c b/usr.sbin/ctld/login.c
--- a/usr.sbin/ctld/login.c
+++ b/usr.sbin/ctld/login.c
@@ -565,10 +565,6 @@
tmp = conn->conn_max_send_data_segment_limit;
}
conn->conn_max_send_data_segment_length = tmp;
- conn->conn_max_recv_data_segment_length =
- conn->conn_max_recv_data_segment_limit;
- keys_add_int(response_keys, name,
- conn->conn_max_recv_data_segment_length);
} else if (strcmp(name, "MaxBurstLength") == 0) {
tmp = strtoul(value, NULL, 10);
if (tmp <= 0) {
@@ -796,6 +792,11 @@
log_errx(1, "initiator sent FirstBurstLength > MaxBurstLength");
}
+ conn->conn_max_recv_data_segment_length =
+ conn->conn_max_recv_data_segment_limit;
+ keys_add_int(response_keys, "MaxRecvDataSegmentLength",
+ conn->conn_max_recv_data_segment_length);
+
log_debugx("operational parameter negotiation done; "
"transitioning to Full Feature Phase");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 20, 3:22 AM (22 h, 5 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14729240
Default Alt Text
D32651.diff (924 B)
Attached To
Mode
D32651: ctld: Always declare MaxRecvDataSegmentLength.
Attached
Detach File
Event Timeline
Log In to Comment