]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix an unnecessarily aggressive behavior where mtu clamping begins on first
authorhiren <hiren@FreeBSD.org>
Wed, 14 Oct 2015 06:57:28 +0000 (06:57 +0000)
committerhiren <hiren@FreeBSD.org>
Wed, 14 Oct 2015 06:57:28 +0000 (06:57 +0000)
commitc9534bc93d8fce7dde17877987c9760dbdd52202
tree57b89e77d8e07d9f1f6ba4d7a67002803016a3c1
parentc7b6fda55e23a071077905546a1d87c5ddf8fa93
Fix an unnecessarily aggressive behavior where mtu clamping begins on first
retransmission timeout (rto) when blackhole detection is enabled.  Make
sure it only happens when the second attempt to send the same segment also fails
with rto.

Also make sure that each mtu probing stage (usually 1448 -> 1188 -> 524) follows
the same pattern and gets 2 chances (rto) before further clamping down.

Note: RFC4821 doesn't specify implementation details on how this situation
should be handled.

Differential Revision: https://reviews.freebsd.org/D3434
Reviewed by: sbruno, gnn (previous version)
MFC after: 2 weeks
Sponsored by: Limelight Networks
sys/netinet/tcp_timer.c