Page MenuHomeFreeBSD

D36631.1795480291.diff
No OneTemporary

Authored By
Unknown
Size
699 B
Referenced Files
None
Subscribers
None

D36631.1795480291.diff

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
@@ -2730,14 +2730,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

Mime Type
text/plain
Expires
Tue, Nov 24, 12:31 AM (22 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41943140
Default Alt Text
D36631.1795480291.diff (699 B)

Event Timeline