Skip to content
Snippets Groups Projects
Commit eff253c4 authored by Gerrit Renker's avatar Gerrit Renker
Browse files

dccp ccid-3: Replace lazy BUG_ON with condition


The BUG_ON(w_tot == 0) only holds if there is no more than 1 loss interval in
the loss history. If there is only a single loss interval, the calc_i_mean()
routine need in fact not be called (RFC 3448, 6.3.1). 

Signed-off-by: default avatarGerrit Renker <gerrit@erg.abdn.ac.uk>
parent 157439fa
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment