Jonathan Morton <[email protected]> writes:

>> On 6 Jul, 2018, at 2:33 pm, Toke Høiland-Jørgensen <[email protected]> wrote:
>> 
>> Now, to figure out what to do about it...
>
> Okay, if qlen can be manipulated outside Cake, that breaks an
> assumption I made. Let me see what I can do about changing the
> decisions involving it.

Yup. The easy fix is to just add an internal counter; I just tried
adding a tot_qlen to cake_sched_data that mirrors sch->q.qlen. This
fixes the issue. But if you have a better idea, by all means go ahead :)

-Toke
_______________________________________________
Cake mailing list
[email protected]
https://lists.bufferbloat.net/listinfo/cake

Reply via email to