Page MenuHomeFreeBSD

D4810.id.diff
No OneTemporary

D4810.id.diff

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

Mime Type
text/plain
Expires
Sat, Aug 8, 6:10 PM (14 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36247151
Default Alt Text
D4810.id.diff (779 B)

Event Timeline