[Cake] [PATCH] Keep an internal counter for total queue length

Toke Høiland-Jørgensen toke at toke.dk
Fri Jul 6 08:00:23 EDT 2018


Toke Høiland-Jørgensen <toke at toke.dk> writes:

> Since sch->q.qlen can be changed from outside cake, we can't rely on it for
> break loops etc. So keep an internal counter that mirrors it and use that
> for all checks.

Sent this as a patch to avoid stepping on your toes if you are working
on the code now :)

-Toke


More information about the Cake mailing list