]> bbs.cooldavid.org Git - net-next-2.6.git/commit
dccp ccid-3: use per-route RTO or TCP RTO as fallback
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Sun, 29 Aug 2010 19:23:14 +0000 (19:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Aug 2010 20:45:28 +0000 (13:45 -0700)
commit89858ad14307a398961a0f1414b04053c1475e4f
tree860eca4c0fb4c9c470d407407ba051ae814c9dfa
parent4886fcad6e12572afbd230dfab1b268eace20d6d
dccp ccid-3: use per-route RTO or TCP RTO as fallback

This makes RTAX_RTO_MIN also available to CCID-3, replacing the compile-time
RTO lower bound with a per-route tunable value.

The original Kconfig option solved the problem that a very low RTT (in the
order of HZ) can trigger too frequent and unnecessary reductions of the
sending rate.

This tunable does not affect the initial RTO value of 2 seconds specified in
RFC 5348, section 4.2 and Appendix B. But like the hardcoded Kconfig value,
it allows to adapt to network conditions.

The same effect as the original Kconfig option of 100ms is now achieved by

> ip route replace to unicast 192.168.0.0/24 rto_min 100j dev eth0

(assuming HZ=1000).

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/dccp.txt
net/dccp/ccids/Kconfig
net/dccp/ccids/ccid3.c
net/dccp/ccids/ccid3.h