summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_fsm.h
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>1999-11-07 04:18:30 +0000
committerjlemon <jlemon@FreeBSD.org>1999-11-07 04:18:30 +0000
commit52fd977f18bf0441d6a7f77fa7b7cda0eea35026 (patch)
treefd1566342f2087bf5ee92d0f5bffafd11c34b6ec /sys/netinet/tcp_fsm.h
parentce5e8ccdd86d15f481494fff596537407ff71416 (diff)
downloadFreeBSD-src-52fd977f18bf0441d6a7f77fa7b7cda0eea35026.zip
FreeBSD-src-52fd977f18bf0441d6a7f77fa7b7cda0eea35026.tar.gz
Undo rev 1.10, which took out TH_FIN from the CLOSING state. This
breaks simultaneous closes.
Diffstat (limited to 'sys/netinet/tcp_fsm.h')
-rw-r--r--sys/netinet/tcp_fsm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_fsm.h b/sys/netinet/tcp_fsm.h
index eb9a909..37752c4 100644
--- a/sys/netinet/tcp_fsm.h
+++ b/sys/netinet/tcp_fsm.h
@@ -92,7 +92,7 @@ static u_char tcp_outflags[TCP_NSTATES] = {
TH_ACK, /* 4, ESTABLISHED */
TH_ACK, /* 5, CLOSE_WAIT */
TH_FIN|TH_ACK, /* 6, FIN_WAIT_1 */
- TH_ACK, /* 7, CLOSING */
+ TH_FIN|TH_ACK, /* 7, CLOSING */
TH_FIN|TH_ACK, /* 8, LAST_ACK */
TH_ACK, /* 9, FIN_WAIT_2 */
TH_ACK, /* 10, TIME_WAIT */
OpenPOWER on IntegriCloud