diff options
author | hsu <hsu@FreeBSD.org> | 2003-01-13 11:01:20 +0000 |
---|---|---|
committer | hsu <hsu@FreeBSD.org> | 2003-01-13 11:01:20 +0000 |
commit | ab47952ce009632a41e7916dca900d27f4b30b1d (patch) | |
tree | 036173ce45a357485bd157f0fc70d05142459d6c /sys/netinet/tcp_timer.c | |
parent | e47bfa007900b9570365936060e3afbcf2ea1d35 (diff) | |
download | FreeBSD-src-ab47952ce009632a41e7916dca900d27f4b30b1d.zip FreeBSD-src-ab47952ce009632a41e7916dca900d27f4b30b1d.tar.gz |
Fix NewReno.
Reviewed by: Tom Henderson <thomas.r.henderson@boeing.com>
Diffstat (limited to 'sys/netinet/tcp_timer.c')
-rw-r--r-- | sys/netinet/tcp_timer.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c index 0c626b1..2cf153b 100644 --- a/sys/netinet/tcp_timer.c +++ b/sys/netinet/tcp_timer.c @@ -462,6 +462,7 @@ tcp_timer_rexmt(xtp) */ tp->snd_cwnd_prev = tp->snd_cwnd; tp->snd_ssthresh_prev = tp->snd_ssthresh; + tp->snd_high_prev = tp->snd_high; tp->t_badrxtwin = ticks + (tp->t_srtt >> (TCP_RTT_SHIFT + 1)); } tcpstat.tcps_rexmttimeo++; @@ -499,11 +500,7 @@ tcp_timer_rexmt(xtp) tp->t_srtt = 0; } tp->snd_nxt = tp->snd_una; - /* - * Note: We overload snd_recover to function also as the - * snd_last variable described in RFC 2582 - */ - tp->snd_recover = tp->snd_max; + tp->snd_high = tp->snd_max; /* * Force a segment to be sent. */ |