Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/netinet Pullup of 1.78, which fixes the stack so th...
details: https://anonhg.NetBSD.org/src/rev/70ddfdd66dfe
branches: netbsd-1-4
changeset: 468162:70ddfdd66dfe
user: kml <kml%NetBSD.org@localhost>
date: Fri Apr 09 22:05:19 1999 +0000
description:
Pullup of 1.78, which fixes the stack so that out of window SYNs are ACKed.
diffstat:
sys/netinet/tcp_input.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 32ff80dca05d -r 70ddfdd66dfe sys/netinet/tcp_input.c
--- a/sys/netinet/tcp_input.c Fri Apr 09 21:31:09 1999 +0000
+++ b/sys/netinet/tcp_input.c Fri Apr 09 22:05:19 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tcp_input.c,v 1.77 1999/02/05 22:37:24 matt Exp $ */
+/* $NetBSD: tcp_input.c,v 1.77.2.1 1999/04/09 22:05:19 kml Exp $ */
/*-
* Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
@@ -1104,8 +1104,12 @@
/*
* If the ACK bit is off we drop the segment and return.
*/
- if ((tiflags & TH_ACK) == 0)
- goto drop;
+ if ((tiflags & TH_ACK) == 0) {
+ if (tp->t_flags & TF_ACKNOW)
+ goto dropafterack;
+ else
+ goto drop;
+ }
/*
* Ack processing.
Home |
Main Index |
Thread Index |
Old Index