]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r289293
authorhiren <hiren@FreeBSD.org>
Thu, 29 Oct 2015 00:36:10 +0000 (00:36 +0000)
committerhiren <hiren@FreeBSD.org>
Thu, 29 Oct 2015 00:36:10 +0000 (00:36 +0000)
commit07e8014e2b9f208ef20814cb53a4ee52c9b8332d
tree5e32e3b47d077210234a8d4793852a2e569d75c6
parenta8f2fadc532c88e8b56dba654067af63dc146409
MFC r289293

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.
sys/netinet/tcp_timer.c