BUG/MINOR: quic: Remove useless BUG_ON() in newreno and cubic algo implementation
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 3 Apr 2023 11:01:58 +0000 (13:01 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Mon, 3 Apr 2023 11:15:56 +0000 (13:15 +0200)
commitc877bd4ea5dba14738bbf565df13d3016eb52bb3
tree71301bf5295d1bbe6bc83e1e4d092a7d51e75086
parent26e1432436723175962bcf4b48475dad65308a5c
BUG/MINOR: quic: Remove useless BUG_ON() in newreno and cubic algo implementation

As now_ms may be zero, these BUG_ON() could be triggered when its value has wrapped.
These call to BUG_ON() may be removed because the values they was supposed to
check are safely used by the ticks API.

Must be backported to 2.6 and 2.7.
src/quic_cc_cubic.c
src/quic_cc_newreno.c