Skip to content
Snippets Groups Projects
Commit f45132d1 authored by John Crispin's avatar John Crispin
Browse files

Codel: avoid a nul rec_inv_sqrt


One condition before codel_Newton_step() was not good if
we never left the dropping state for a flow. As a result
rec_inv_sqrt was 0, instead of the ~0 initial value.

codel control law was then set to a very aggressive mode, dropping
many packets before reaching 'target' and recovering from this problem.

Brought over from 3.5-stable

Signed-off-by: default avatarDave Taht <dave.taht@bufferbloat.net>

SVN-Revision: 32950
parent c2d3274f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment