linux/net/dccp/ccids/lib
Gerrit Renker 63b3a73bb8 dccp ccid-3: Remove ugly RTT-sampling history lookup
This removes the RTT-sampling function tfrc_tx_hist_rtt(), since

 1. it suffered from complex passing of return values (the return value both
    indicated successful lookup while the value doubled as RTT sample);

 2. when for some odd reason the sample value equalled 0, this triggered a bug
    warning about "bogus Ack", due to the ambiguity of the return value;

 3. on a passive host which has not sent anything the TX history is empty and
    thus will lead to unwanted "bogus Ack" warnings such as
    ccid3_hc_tx_packet_recv: server(e7b7d518): DATAACK with bogus ACK-28197148
    ccid3_hc_tx_packet_recv: server(e7b7d518): DATAACK with bogus ACK-26641606.

The fix is to replace the implicit encoding by performing the steps manually.					       

Furthermore, the "bogus Ack" warning has been removed, since it can actually be
triggered due to several reasons (network reordering, old packet, (3) above),
hence it is not very useful.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
2008-09-04 07:45:34 +02:00
..
loss_interval.c dccp ccid-3: Replace lazy BUG_ON with condition 2008-09-04 07:45:25 +02:00
loss_interval.h [TFRC]: Remove previous loss intervals implementation 2008-01-28 14:57:20 -08:00
Makefile [TFRC]: Provide central source file and debug facility 2008-01-28 14:56:39 -08:00
packet_history.c dccp ccid-3: Remove ugly RTT-sampling history lookup 2008-09-04 07:45:34 +02:00
packet_history.h dccp ccid-3: Remove ugly RTT-sampling history lookup 2008-09-04 07:45:34 +02:00
tfrc_equation.c dccp ccid-3: TFRC reverse-lookup Bug-Fix 2008-06-11 11:19:10 +01:00
tfrc.c dccp: Toggle debug output without module unloading 2008-09-04 07:45:25 +02:00
tfrc.h dccp ccid-3: X truncated due to type conversion 2008-06-11 11:19:10 +01:00