diff options
| author | Jeffrey Hsu <hsu@FreeBSD.org> | 2003-01-13 11:01:20 +0000 | 
|---|---|---|
| committer | Jeffrey Hsu <hsu@FreeBSD.org> | 2003-01-13 11:01:20 +0000 | 
| commit | cb942153c84c7de3e8472aecf3f43dbe67f993e6 (patch) | |
| tree | 036173ce45a357485bd157f0fc70d05142459d6c /sys/netinet/tcp_timer.c | |
| parent | d8b504e33c7ed51c42de63ed056d5e214f1de1a2 (diff) | |
Notes
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 0c626b179084d..2cf153b8ebdc4 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.  	 */  | 
