summaryrefslogtreecommitdiff
path: root/sys/altq/altq_hfsc.h
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-06-02 11:05:10 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-06-02 11:05:10 +0000
commit0797724f57c4b2cd3d9eca10af6ab148e857932a (patch)
tree28833ab64867f074d6a4617e81d7a3087f0802d7 /sys/altq/altq_hfsc.h
parentf01492784049d31b694caa93d8f283626ab12430 (diff)
Fix an off-by-one in the ddb-only debugging function tdb_hashstats.
when we check if a hash chain is over 15 long, we would access one past the end of the array. change the static array size to a define because it makes this checking easier to verify. Found by Parfait. ok deraadt@.
Diffstat (limited to 'sys/altq/altq_hfsc.h')
0 files changed, 0 insertions, 0 deletions