summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1999-12-14 22:20:29 +0000
committerNiels Provos <provos@cvs.openbsd.org>1999-12-14 22:20:29 +0000
commit9d7f84cebf80fdf2f3e300a7d1e34bb63eea37ef (patch)
tree3e712c69bc109d4fa02d314ae976cece35f835f5
parentda438af64bbb987678903d2d63cf2bc04d2261cd (diff)
sack.end may not be > tp->snd_max but can be equal.
-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 f080fb3c386..d5ff49496e7 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.52 1999/12/08 06:50:20 itojun Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.53 1999/12/14 22:20:28 provos Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -2354,7 +2354,7 @@ tcp_sack_option(tp, th, cp, optlen)
if (SEQ_LT(sack.start, tp->snd_una))
continue;
}
- if (SEQ_GEQ(sack.end, tp->snd_max))
+ if (SEQ_GT(sack.end, tp->snd_max))
continue;
if (tp->snd_holes == 0) { /* first hole */
tp->snd_holes = (struct sackhole *)