summaryrefslogtreecommitdiff
path: root/net/dccp/feat.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-09-04 07:45:25 +0200
commit959fd992f05b7468bf30d759ac0c9fd0ef0fa80b (patch)
tree936a599345610ce11d5070e17dc6a72f0949285e /net/dccp/feat.c
parent432649916b0435b608fb3e1fcb97347ac294d38d (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/dccp/feat.c')
0 files changed, 0 insertions, 0 deletions