Page MenuHomeFreeBSD

D55489.diff
No OneTemporary

D55489.diff

diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c
--- a/sys/netinet/tcp_timewait.c
+++ b/sys/netinet/tcp_timewait.c
@@ -287,7 +287,7 @@
/*
* Acknowledge the segment if it has data or is not a duplicate ACK.
*/
- if (thflags != TH_ACK || tlen != 0 ||
+ if ((thflags & (TH_SYN | TH_FIN)) != 0 || tlen != 0 ||
th->th_seq != tp->rcv_nxt || th->th_ack != tp->snd_nxt) {
TCP_LOG_EVENT(tp, th, NULL, NULL, TCP_LOG_IN, 0, tlen, NULL,
true);

File Metadata

Mime Type
text/plain
Expires
Tue, May 26, 10:59 AM (54 m, 3 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29004628
Default Alt Text
D55489.diff (477 B)

Event Timeline