dccp  

Re: CCID 3: Strategy for removing division bugs and division errors

Arnaldo Carvalho de Melo
Wed, 29 Nov 2006 08:03:33 -0800

On 11/29/06, Gerrit Renker <[EMAIL PROTECTED]> wrote:
As promised, I sat down and wrote up conditions and current problems with
some of the calculations in the CCID 3 module. Changes are required only for 
the sender.

In a nutshell, the strategy solves
 * the problem that dividing-by-seconds is not handled correctly
 * defines a sufficient resolution for tracking sending rates
 * gets rid of the overflow problem

The cost is that
 * at least 1 and ideally 3 structure elements of tfrc_tx_info make it to __u64
 ===> Arnaldo are you OK with this?

first_read() = 0; /* No problems */
rereading() ....
-
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html