From 99abd33ffd001838f96697ab3b4f74357db76754 Mon Sep 17 00:00:00 2001 From: provos Date: Fri, 1 Mar 2002 22:29:29 +0000 Subject: remove tcp_fasttimo and convert delayed acks to the timeout(9) API instead. adapated from netbsd. okay angelos@ --- sys/netinet/tcp_input.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/netinet/tcp_input.c') diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 5f53d9bd494..85074de4cd5 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_input.c,v 1.104 2002/01/24 22:42:48 provos Exp $ */ +/* $OpenBSD: tcp_input.c,v 1.105 2002/03/01 22:29:29 provos Exp $ */ /* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */ /* @@ -995,7 +995,7 @@ findpcb: if (th->th_flags & TH_PUSH) tp->t_flags |= TF_ACKNOW; else - tp->t_flags |= TF_DELACK; + TCP_SET_DELACK(tp); m_adj(m, iphlen + off); sbappend(&so->so_rcv, m); sorwakeup(so); @@ -1981,7 +1981,7 @@ dodata: /* XXX */ if (th->th_flags & TH_PUSH) tp->t_flags |= TF_ACKNOW; else - tp->t_flags |= TF_DELACK; + TCP_SET_DELACK(tp); tp->rcv_nxt += tlen; tiflags = th->th_flags & TH_FIN; tcpstat.tcps_rcvpack++; -- cgit v1.2.3-59-g8ed1b