From 3a64270ca629ec6661b11f3d80e68ab03c9dfae1 Mon Sep 17 00:00:00 2001 From: mycroft Date: Thu, 9 Jul 1998 05:49:56 +0000 Subject: [PATCH] Back out the change from TCP/IP vol 2, in revision 1.7, which removed TH_FIN from the output flags for CLOSING state. There is no harm in retransmitting the FIN, and this change has unexpected side effects that break simultaneous close behaviour. --- sys/netinet/tcp_fsm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/tcp_fsm.h b/sys/netinet/tcp_fsm.h index b4ba7e1b709a..45674a3410e7 100644 --- a/sys/netinet/tcp_fsm.h +++ b/sys/netinet/tcp_fsm.h @@ -1,4 +1,4 @@ -/* $NetBSD: tcp_fsm.h,v 1.9 1998/07/03 05:39:56 thorpej Exp $ */ +/* $NetBSD: tcp_fsm.h,v 1.10 1998/07/09 05:49:56 mycroft Exp $ */ /* * Copyright (c) 1982, 1986, 1993 @@ -75,7 +75,7 @@ u_char tcp_outflags[TCP_NSTATES] = { TH_RST|TH_ACK, 0, TH_SYN, TH_SYN|TH_ACK, TH_ACK, TH_ACK, - TH_FIN|TH_ACK, TH_ACK, TH_FIN|TH_ACK, TH_ACK, TH_ACK, + TH_FIN|TH_ACK, TH_FIN|TH_ACK, TH_FIN|TH_ACK, TH_ACK, TH_ACK, }; #endif