alistair23-linux/net/dccp/ccids
Gerrit Renker 3294f202dc dccp ccid-3: Bug-Fix - Zero RTT is possible
In commit $(825de27d9e) (from 27th May, commit
message `dccp ccid-3: Fix "t_ipi explosion" bug'), the CCID-3 window counter
computation was fixed to cope with RTTs < 4 microseconds.

Such RTTs can be found e.g. when running CCID-3 over loopback. The fix removed
a check against RTT < 4, but introduced a divide-by-zero bug.

All steady-state RTTs in DCCP are filtered using dccp_sample_rtt(), which
ensures non-zero samples. However, a zero RTT is possible on initialisation,
when there is no RTT sample from the Request/Response exchange.

The fix is to use the fallback-RTT from RFC 4340, 3.4.

This is also better than just fixing update_win_count() since it allows other
parts of the code to always assume that the RTT is non-zero during the time
that the CCID is used.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
2008-06-11 11:19:09 +01:00
..
lib [TFRC]: Remove previous loss intervals implementation 2008-01-28 14:57:20 -08:00
ccid2.c dccp: ccid2.c, ccid3.c use clamp(), clamp_t() 2008-05-02 16:44:07 -07:00
ccid2.h [CCID2]: Remove redundant ack-counting variable 2008-01-28 14:55:00 -08:00
ccid3.c dccp ccid-3: Bug-Fix - Zero RTT is possible 2008-06-11 11:19:09 +01:00
ccid3.h [CCID3]: Use a function to update p_inv, and p is never used 2008-01-28 14:58:21 -08:00
Kconfig [TFRC]: Provide central source file and debug facility 2008-01-28 14:56:39 -08:00
Makefile