aboutsummaryrefslogtreecommitdiff
path: root/net/ethernet/pe2.c
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2008-08-23 13:28:27 +0200
committerGerrit Renker <gerrit@erg.abdn.ac.uk>2008-08-27 07:22:00 +0200
commiteff253c4272cd2aac95ccff46d3d2e1a495f22b1 (patch)
treed33ffe2bf87b27046bd032ae49d04f012558ae75 /net/ethernet/pe2.c
parent157439fa4a9b38ac4ce41e2fc379fc5031affec8 (diff)
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: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Diffstat (limited to 'net/ethernet/pe2.c')
0 files changed, 0 insertions, 0 deletions