summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1995-06-11 09:36:28 +0000
committermycroft <mycroft@NetBSD.org>1995-06-11 09:36:28 +0000
commit4ce5bb3dd467c312c1630d7ca3cdfaa46b248233 (patch)
tree1865c304e07cfc21cf4560a0aa5d2eee25211991 /sys
parent5827156eb138eebb581ab6882874652825d862b2 (diff)
Check for inflated congestion window during header prediction, per Bramko and
Peterson.
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/tcp_input.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 59e40ed8e49..026296991f8 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $NetBSD: tcp_input.c,v 1.14 1995/06/04 05:07:14 mycroft Exp $ */
+/* $NetBSD: tcp_input.c,v 1.15 1995/06/11 09:36:28 mycroft Exp $ */
/*
* Copyright (c) 1982, 1986, 1988, 1990, 1993, 1994
@@ -440,7 +440,8 @@ findpcb:
if (ti->ti_len == 0) {
if (SEQ_GT(ti->ti_ack, tp->snd_una) &&
SEQ_LEQ(ti->ti_ack, tp->snd_max) &&
- tp->snd_cwnd >= tp->snd_wnd) {
+ tp->snd_cwnd >= tp->snd_wnd &&
+ tp->t_dupacks < tcprexmtthresh) {
/*
* this is a pure ack for outstanding data.
*/