Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154975891
D4810.id11981.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
779 B
Referenced Files
None
Subscribers
None
D4810.id11981.diff
View Options
Index: sys/netinet/tcp_timer.c
===================================================================
--- sys/netinet/tcp_timer.c
+++ sys/netinet/tcp_timer.c
@@ -679,11 +679,16 @@
* - Reduce MTU to lower value than what we
* negotiated with peer.
*/
- /* Record that we may have found a black hole. */
- tp->t_flags2 |= TF2_PLPMTU_BLACKHOLE;
+ if ((tp->t_flags2 & TF2_PLPMTU_BLACKHOLE) == 0) {
+ /*
+ * Record that we may have found a black
+ * hole.
+ */
+ tp->t_flags2 |= TF2_PLPMTU_BLACKHOLE;
- /* Keep track of previous MSS. */
- tp->t_pmtud_saved_maxseg = tp->t_maxseg;
+ /* Keep track of previous MSS. */
+ tp->t_pmtud_saved_maxseg = tp->t_maxseg;
+ }
/*
* Reduce the MSS to blackhole value or to the default
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 1, 10:17 AM (10 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32571644
Default Alt Text
D4810.id11981.diff (779 B)
Attached To
Mode
D4810: Properly save the original MSS during blackhole detection
Attached
Detach File
Event Timeline
Log In to Comment