summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syspatch
diff options
context:
space:
mode:
authormikeb <mikeb@openbsd.org>2017-08-17 18:22:43 +0000
committermikeb <mikeb@openbsd.org>2017-08-17 18:22:43 +0000
commitfb65ceae577d44a42729ae75a46aaf5dfe32a51d (patch)
tree889a1783ed409e8dc0206b56c50ff85520093a02 /usr.sbin/syspatch
parentResolve races with the hfsc_deferred timeout (diff)
downloadwireguard-openbsd-fb65ceae577d44a42729ae75a46aaf5dfe32a51d.tar.xz
wireguard-openbsd-fb65ceae577d44a42729ae75a46aaf5dfe32a51d.zip
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.sbin/syspatch')
0 files changed, 0 insertions, 0 deletions