summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient/bpf.c
diff options
context:
space:
mode:
authormikeb <mikeb@openbsd.org>2017-07-24 15:20:46 +0000
committermikeb <mikeb@openbsd.org>2017-07-24 15:20:46 +0000
commit2b4ab26dae98e34459964b7f16f688ccb8e91794 (patch)
tree1eac960442e9e5a955a4ef0623be847a259a1b2b /sbin/dhclient/bpf.c
parentadd MULTIPROCESSOR guards around otherwise unused pieces to satisfy clang (diff)
downloadwireguard-openbsd-2b4ab26dae98e34459964b7f16f688ccb8e91794.tar.xz
wireguard-openbsd-2b4ab26dae98e34459964b7f16f688ccb8e91794.zip
Don't attempt to deactivate a class that doesn't have any packets in it
Classes are considered "active" when they have packets assigned to them. Active classes are tracked on various lists and during the purge operation must be dissociated from them. During factoring out of the HFSC internal FIFO operations, the check for whether the class is empty got lost. Issue reported and fix tested by abieber@ and myself.
Diffstat (limited to 'sbin/dhclient/bpf.c')
0 files changed, 0 insertions, 0 deletions