diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2011-02-14 14:02:23 -0500 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2011-02-14 14:07:58 -0500 |
commit | ac7100ba93428a26cde8e47dfcfcfbfbfcce66de (patch) | |
tree | 1750fd2e7dc4b48748fe59d7737f460185ad5990 /.gitignore | |
parent | 263fb5b1bf9265d0e4ce59ff6ea92f478b5b61ea (diff) |
sch_mqprio: Always set num_tc to 0 in mqprio_destroy()
All the cleanup code in mqprio_destroy() is currently conditional on
priv->qdiscs being non-null, but that condition should only apply to
the per-queue qdisc cleanup. We should always set the number of
traffic classes back to 0 here.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions