summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1999-01-27 10:04:57 +0000
committerniklas <niklas@openbsd.org>1999-01-27 10:04:57 +0000
commitc84a69e891f90f368e7beb8524bacbc670f9fc16 (patch)
tree99320c13c98f5212a077b2626fc61dc15b776b6c /sys/netinet/tcp_input.c
parentProtect against multiple includes and regularize cpp symbols used (diff)
downloadwireguard-openbsd-c84a69e891f90f368e7beb8524bacbc670f9fc16.tar.xz
wireguard-openbsd-c84a69e891f90f368e7beb8524bacbc670f9fc16.zip
reordered FIN segments caused early termination, bug introduced by ipv6 integration
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 3c82a2d77c7..354c98311b5 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.26 1999/01/15 12:01:06 niklas Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.27 1999/01/27 10:04:57 niklas Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -1936,7 +1936,7 @@ dodata: /* XXX */
sbappend(&so->so_rcv, m);
sorwakeup(so);
} else {
- tcp_reass(tp, th, m, &tlen);
+ tiflags = tcp_reass(tp, th, m, &tlen);
tp->t_flags |= TF_ACKNOW;
}
#ifdef TCP_SACK