Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107058387
D44384.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
446 B
Referenced Files
None
Subscribers
None
D44384.diff
View Options
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -470,6 +470,12 @@
(tp->t_tfo_client_cookie_len == 0)) ||
(flags & TH_RST)))
len = 0;
+
+ /* Without fast-open there should never be data sent on a SYN. */
+ if ((flags & TH_SYN) && !(tp->t_flags & TF_FASTOPEN)) {
+ len = 0;
+ }
+
if (len <= 0) {
/*
* If FIN has been sent but not acked,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 11:29 AM (13 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15742161
Default Alt Text
D44384.diff (446 B)
Attached To
Mode
D44384: tcp: no data on SYN unless doing TFO
Attached
Detach File
Event Timeline
Log In to Comment