Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144780252
D36631.1776470432.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
699 B
Referenced Files
None
Subscribers
None
D36631.1776470432.diff
View Options
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -2739,14 +2739,14 @@
maxseg;
/*
* Only call tcp_output when there
- * is new data available to be sent.
- * Otherwise we would send pure ACKs.
+ * is new data available to be sent
+ * or we need to send an ACK.
*/
SOCKBUF_LOCK(&so->so_snd);
avail = sbavail(&so->so_snd) -
(tp->snd_nxt - tp->snd_una);
SOCKBUF_UNLOCK(&so->so_snd);
- if (avail > 0)
+ if (avail > 0 || tp->t_flags & TF_ACKNOW)
(void) tcp_output(tp);
sent = tp->snd_max - oldsndmax;
if (sent > maxseg) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 18, 12:00 AM (8 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28371525
Default Alt Text
D36631.1776470432.diff (699 B)
Attached To
Mode
D36631: Send ACKs when requested
Attached
Detach File
Event Timeline
Log In to Comment