From: Gerrit Renker Date: Wed, 11 Jun 2008 10:19:10 +0000 (+0100) Subject: dccp ccid-3: X truncated due to type conversion X-Git-Tag: v2.6.26-rc7~40^2~6^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7deb0f851003287d7e259bf6b33548b144c0f2d5;p=pandora-kernel.git 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 --- Reading git-diff-tree failed