Page MenuHomeFreeBSD

D49922.id153948.diff
No OneTemporary

D49922.id153948.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
@@ -2815,9 +2815,11 @@
KASSERT((tp->t_dupacks == 2 &&
tp->snd_limited == 0) ||
(sent == maxseg + 1 &&
- tp->t_flags & TF_SENTFIN),
- ("%s: sent too much",
- __func__));
+ tp->t_flags & TF_SENTFIN) ||
+ (sent < 2 * maxseg &&
+ tp->t_flags & TF_NODELAY),
+ ("%s: sent too much: %u>%u",
+ __func__, sent, maxseg));
tp->snd_limited = 2;
} else if (sent > 0) {
++tp->snd_limited;

File Metadata

Mime Type
text/plain
Expires
Tue, Oct 14, 4:33 AM (12 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23707179
Default Alt Text
D49922.id153948.diff (618 B)

Event Timeline