kernel_optimize_test/net/dccp/ccids
Gerrit Renker 4886fcad6e dccp ccid-2: Share TCP's minimum RTO code
Using a fixed RTO_MIN of 0.2 seconds was found to cause problems for CCID-2
over 802.11g: at least once per session there was a spurious timeout. It
helped to then increase the the value of RTO_MIN over this link.

Since the problem is the same as in TCP, this patch makes the solution from
commit "05bb1fad1cde025a864a90cfeb98dcbefe78a44a"
       "[TCP]: Allow minimum RTO to be configurable via routing metrics."
available to DCCP.

This avoids reinventing the wheel, so that e.g. the following works in the
expected way now also for CCID-2:

> ip route change 10.0.0.2 rto_min 800 dev ath0

Luckily this useful rto_min function was recently moved to net/tcp.h,
which simplifies sharing code originating from TCP.

Documentation also updated (plus minor whitespace fixes).

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-08-30 13:45:27 -07:00
..
lib net-next-2.6 [PATCH 1/1] dccp: ccids whitespace-cleanup / CodingStyle 2009-09-14 17:02:54 -07:00
ccid2.c dccp ccid-2: Share TCP's minimum RTO code 2010-08-30 13:45:27 -07:00
ccid2.h dccp ccid-2: Use u32 timestamps uniformly 2010-08-30 13:45:25 -07:00
ccid3.c dccp ccid-3: No more CCID control blocks in LISTEN state 2010-08-23 20:13:30 -07:00
ccid3.h ccid: ccid-2/3 code cosmetics 2010-08-23 20:13:29 -07:00
Kconfig net-next-2.6 [PATCH 1/1] dccp: ccids whitespace-cleanup / CodingStyle 2009-09-14 17:02:54 -07:00