Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167459001
D55489.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
477 B
Referenced Files
None
Subscribers
None
D55489.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 22, 9:52 PM (3 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37111207
Default Alt Text
D55489.diff (477 B)
Attached To
Mode
D55489: tcp: improve handling of segments in TIME WAIT
Attached
Detach File
Event Timeline
Log In to Comment