diff options
| author | Paul Saab <ps@FreeBSD.org> | 2004-06-23 21:04:37 +0000 |
|---|---|---|
| committer | Paul Saab <ps@FreeBSD.org> | 2004-06-23 21:04:37 +0000 |
| commit | 6d90faf3d8b13d43a3e9597b90d57115161435f3 (patch) | |
| tree | 37eceb1297375660ec2d161a79ee2ec7364248b3 /sys/netinet/tcp_timer.c | |
| parent | 89ec2c3c423bd52b41ab347d2f409877cdb04304 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_timer.c')
| -rw-r--r-- | sys/netinet/tcp_timer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c index a23531f5748e..44664ad98822 100644 --- a/sys/netinet/tcp_timer.c +++ b/sys/netinet/tcp_timer.c @@ -32,6 +32,7 @@ #include "opt_inet6.h" #include "opt_tcpdebug.h" +#include "opt_tcp_sack.h" #include <sys/param.h> #include <sys/kernel.h> @@ -217,6 +218,7 @@ tcp_timer_2msl(xtp) return; } INP_LOCK(inp); + tcp_free_sackholes(tp); if (callout_pending(tp->tt_2msl) || !callout_active(tp->tt_2msl)) { INP_UNLOCK(tp->t_inpcb); INP_INFO_WUNLOCK(&tcbinfo); @@ -497,6 +499,7 @@ tcp_timer_rexmt(xtp) return; } callout_deactivate(tp->tt_rexmt); + tcp_free_sackholes(tp); /* * Retransmission timer went off. Message has not * been acked within retransmit interval. Back off |
