From: Gerrit Renker Date: Sat, 23 Aug 2008 11:28:27 +0000 (+0200) Subject: dccp ccid-3: Replace lazy BUG_ON with condition X-Git-Tag: v2.6.28-rc1~717^2~390 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eff253c4272cd2aac95ccff46d3d2e1a495f22b1;p=pandora-kernel.git 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 --- Reading git-diff-tree failed