Page MenuHomeFreeBSD

D61605.1794911489.diff
No OneTemporary

Authored By
Unknown
Size
801 B
Referenced Files
None
Subscribers
None

D61605.1794911489.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
@@ -587,19 +587,7 @@
if (len) {
if (len >= tp->t_maxseg)
goto send;
- /*
- * As the TCP header options are now
- * considered when setting up the initial
- * window, we would not send the last segment
- * if we skip considering the option length here.
- * Note: this may not work when tcp headers change
- * very dynamically in the future.
- */
- if ((((tp->t_flags & TF_SIGNATURE) ?
- PADTCPOLEN(TCPOLEN_SIGNATURE) : 0) +
- ((tp->t_flags & TF_RCVD_TSTMP) ?
- PADTCPOLEN(TCPOLEN_TIMESTAMP) : 0) +
- len) >= tp->t_maxseg)
+ if (len >= tcp_maxseg(tp))
goto send;
/*
* NOTE! on localhost connections an 'ack' from the remote

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 17, 10:31 AM (15 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41789908
Default Alt Text
D61605.1794911489.diff (801 B)

Event Timeline