diff options
author | Hiren Panchasara <hiren@FreeBSD.org> | 2016-08-26 17:48:54 +0000 |
---|---|---|
committer | Hiren Panchasara <hiren@FreeBSD.org> | 2016-08-26 17:48:54 +0000 |
commit | e7106d6be22d46caca34ebc4b52670047ddca91f (patch) | |
tree | 6b5bbdacb71edef0b46bf611dd616e8bcb65bbf9 /sys/netinet/tcp_fsm.h | |
parent | 7df135c055d74b467b36cbdd19936dd787fa3078 (diff) | |
download | src-test2-e7106d6be22d46caca34ebc4b52670047ddca91f.tar.gz src-test2-e7106d6be22d46caca34ebc4b52670047ddca91f.zip |
Notes
Diffstat (limited to 'sys/netinet/tcp_fsm.h')
-rw-r--r-- | sys/netinet/tcp_fsm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/tcp_fsm.h b/sys/netinet/tcp_fsm.h index 61fd0c1f8a28..5423e1f19267 100644 --- a/sys/netinet/tcp_fsm.h +++ b/sys/netinet/tcp_fsm.h @@ -73,7 +73,8 @@ #define TCPS_HAVERCVDSYN(s) ((s) >= TCPS_SYN_RECEIVED) #define TCPS_HAVEESTABLISHED(s) ((s) >= TCPS_ESTABLISHED) -#define TCPS_HAVERCVDFIN(s) ((s) >= TCPS_TIME_WAIT) +#define TCPS_HAVERCVDFIN(s) \ + ((s) == TCPS_CLOSE_WAIT || ((s) >= TCPS_CLOSING && (s) != TCPS_FIN_WAIT_2)) #ifdef TCPOUTFLAGS /* |