Page MenuHomeFreeBSD

D44384.id135896.diff
No OneTemporary

D44384.id135896.diff

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

Mime Type
text/plain
Expires
Tue, Nov 25, 5:42 PM (3 h, 46 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26155734
Default Alt Text
D44384.id135896.diff (446 B)

Event Timeline