summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_usrreq.c
diff options
context:
space:
mode:
authorjob <job@openbsd.org>2017-10-25 12:38:21 +0000
committerjob <job@openbsd.org>2017-10-25 12:38:21 +0000
commite441a72a306ec4f4a1614483019301229942f0ca (patch)
treefd9379c3760e6627671abd4b6c54234a4a95b989 /sys/netinet/tcp_usrreq.c
parenth/l keys for expand and collapse. (diff)
downloadwireguard-openbsd-e441a72a306ec4f4a1614483019301229942f0ca.tar.xz
wireguard-openbsd-e441a72a306ec4f4a1614483019301229942f0ca.zip
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_usrreq.c')
-rw-r--r--sys/netinet/tcp_usrreq.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index d7ee1ecc517..b4333507447 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_usrreq.c,v 1.157 2017/10/22 14:11:34 mikeb Exp $ */
+/* $OpenBSD: tcp_usrreq.c,v 1.158 2017/10/25 12:38:21 job Exp $ */
/* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */
/*
@@ -269,11 +269,6 @@ tcp_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *nam,
tcp_set_iss_tsm(tp);
tcp_sendseqinit(tp);
tp->snd_last = tp->snd_una;
-#ifdef TCP_FACK
- tp->snd_fack = tp->snd_una;
- tp->retran_data = 0;
- tp->snd_awnd = 0;
-#endif
error = tcp_output(tp);
break;