linux/net/dccp/ccids/lib
Gerrit Renker b552c6231f dccp ccid-3: Fix a loss detection bug
This fixes a bug in the logic of the TFRC loss detection:
 * new_loss_indicated() should not be called while a loss is pending;
 * but the code allows this;
 * thus, for two subsequent gaps in the sequence space, when loss_count
   has not yet reached NDUPACK=3, the loss_count is falsely reduced to 1.

To avoid further and similar problems, all loss handling and loss detection is
now done inside tfrc_rx_hist_handle_loss(), using an appropriate routine to
track new losses.

Further changes:
----------------
 * added a reminder that no RX history operations should be performed when
   rx_handle_loss() has identified a (new) loss, since the function takes
   care of packet reordering during loss detection;
 * made tfrc_rx_hist_loss_pending() bool (thanks to an earlier suggestion
   by Arnaldo);		 
 * removed unused functions.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
2008-07-13 11:51:40 +01:00
..
loss_interval.c [TFRC]: Remove previous loss intervals implementation 2008-01-28 14:57:20 -08: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: Fix a loss detection bug 2008-07-13 11:51:40 +01:00
packet_history.h dccp ccid-3: Fix a loss detection bug 2008-07-13 11:51:40 +01:00
tfrc_equation.c dccp ccid-3: TFRC reverse-lookup Bug-Fix 2008-06-11 11:19:10 +01:00
tfrc.c dccp: Fix sparse warnings 2008-06-11 11:19:09 +01:00
tfrc.h dccp ccid-3: X truncated due to type conversion 2008-06-11 11:19:10 +01:00