summaryrefslogtreecommitdiff
path: root/usr.bin/lex
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2017-08-17 18:22:44 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2017-08-17 18:22:44 +0000
commite2cdefbbb18854bc2d2dac3793526a9ba94561ef (patch)
treef267aabbe95a27ec5bc7f2865c5b90c23b9be47e /usr.bin/lex
parent5d8be86b0975eb2e8b6ad1eca96d447ce0b1af63 (diff)
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
Diffstat (limited to 'usr.bin/lex')
0 files changed, 0 insertions, 0 deletions