summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_timer.c
diff options
context:
space:
mode:
authorjob <job@cvs.openbsd.org>2017-10-25 12:38:22 +0000
committerjob <job@cvs.openbsd.org>2017-10-25 12:38:22 +0000
commitecafac1e21259056c107861ff724adaf6c42ae87 (patch)
tree14f87bb0ba78dba7307f28d4804006fc0dc1b7f3 /sys/netinet/tcp_timer.c
parente4d40a42838a25c734622b3b27246a6a63d6a429 (diff)
Remove the TCP_FACK option and associated #if{,n}def code.
TCP_FACK was disabled by provos@ in June 1999. TCP_FACK is an algorithm that decides that when something is lost, all not SACKed packets until the most forward SACK are lost. It may be a correct estimate, if network does not reorder packets. OK visa@ mpi@ mikeb@
Diffstat (limited to 'sys/netinet/tcp_timer.c')
-rw-r--r--sys/netinet/tcp_timer.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c
index 9d2e75942cd..91aa0cbe4dd 100644
--- a/sys/netinet/tcp_timer.c
+++ b/sys/netinet/tcp_timer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_timer.c,v 1.58 2017/10/22 14:11:34 mikeb Exp $ */
+/* $OpenBSD: tcp_timer.c,v 1.59 2017/10/25 12:38:21 job Exp $ */
/* $NetBSD: tcp_timer.c,v 1.14 1996/02/13 23:44:09 christos Exp $ */
/*
@@ -172,11 +172,6 @@ tcp_timer_freesack(struct tcpcb *tp)
pool_put(&sackhl_pool, p);
}
tp->snd_holes = 0;
-#ifdef TCP_FACK
- tp->snd_fack = tp->snd_una;
- tp->retran_data = 0;
- tp->snd_awnd = 0;
-#endif
}
void