CVSROOT:        /cvs
Module name:    src
Changes by:     mi...@cvs.openbsd.org   2017/08/17 12:22:43

Modified files:
        sys/net        : hfsc.c 

Log message:
Remove a class from parent's active list when queue is empty

When hfsc_deq_begin can't obtain an mbuf from the queue which can
happen with fq_codel, the hfsc_deq_commit isn't called and HFSC
doesn't get to update the active queue list of the parent class.
To successfully purge and destroy such class, we need to make
sure to run the service curve update routine even if we haven't
dequeued anything so that the parent class doesn't accumulate
stale child classes on its active list.

Reported by Atanas Vladimirov, OK visa

Reply via email to