diff options
| author | Jayanth Vijayaraghavan <jayanth@FreeBSD.org> | 2001-08-29 23:54:13 +0000 |
|---|---|---|
| committer | Jayanth Vijayaraghavan <jayanth@FreeBSD.org> | 2001-08-29 23:54:13 +0000 |
| commit | e7e2b8018452c041381375b0236a226c8ccb352a (patch) | |
| tree | 3e450d0b6ddbace337727dea6b849ea7b1177824 | |
| parent | 2b8bab2f343c7709d26d253250ac611ff665acf5 (diff) | |
Notes
| -rw-r--r-- | sys/netinet/tcp_input.c | 2 | ||||
| -rw-r--r-- | sys/netinet/tcp_reass.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 359221318145..38f4a3efcc10 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1885,6 +1885,8 @@ trimthenstep6: tp->snd_cwnd = tp->snd_ssthresh; tp->t_dupacks = 0; } + if (tp->t_dupacks < tcprexmtthresh) + tp->t_dupacks = 0; if (SEQ_GT(th->th_ack, tp->snd_max)) { tcpstat.tcps_rcvacktoomuch++; goto dropafterack; diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c index 359221318145..38f4a3efcc10 100644 --- a/sys/netinet/tcp_reass.c +++ b/sys/netinet/tcp_reass.c @@ -1885,6 +1885,8 @@ trimthenstep6: tp->snd_cwnd = tp->snd_ssthresh; tp->t_dupacks = 0; } + if (tp->t_dupacks < tcprexmtthresh) + tp->t_dupacks = 0; if (SEQ_GT(th->th_ack, tp->snd_max)) { tcpstat.tcps_rcvacktoomuch++; goto dropafterack; |
