Page MenuHomeFreeBSD

D44384.diff
No OneTemporary

D44384.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
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)

Event Timeline