dccp ccid-3: replace incorrect BUG_ON
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Mon, 27 Feb 2012 19:29:44 +0000 (12:29 -0700)
committerGerrit Renker <gerrit@erg.abdn.ac.uk>
Sat, 3 Mar 2012 16:02:36 +0000 (09:02 -0700)
commit793734b587a670e47a8d65f9e5211ba2188bb904
treefb60d9fb18d4190170bc3018dc503fbbea3b7b23
parentb4017c5368f992fb8fb3a2545a0977082c6664e4
dccp ccid-3: replace incorrect BUG_ON

This replaces an unjustified BUG_ON(), which could get triggered under normal
conditions: X_calc can be 0 when p > 0. X would in this case be set to the
minimum, s/t_mbi. Its replacement avoids t_ipi = 0 (unbounded sending rate).

Thanks to Jordi, Victor and Xavier who reported this.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.uk>
net/dccp/ccids/ccid3.c