1
linux/net/dccp/ccids
Gerrit Renker 7deb0f8510 dccp ccid-3: X truncated due to type conversion
This fixes a bug in computing the inter-packet-interval t_ipi = s/X: 

 scaled_div32(a, b) uses u32 for b, but in "scaled_div32(s, X)" the type of the
 sending rate `X' is u64. Since X is scaled by 2^6, this truncates rates greater
 than 2^26 Bps (~537 Mbps).

Using full 64-bit division now.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
2008-06-11 11:19:10 +01:00
..
lib dccp ccid-3: X truncated due to type conversion 2008-06-11 11:19:10 +01: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: Fix sparse warnings 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 [DCCP] CCID2: Initial CCID2 (TCP-Like) implementation 2006-03-20 17:41:47 -08:00