Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ac7100ba authored by Ben Hutchings's avatar Ben Hutchings
Browse files

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: default avatarBen Hutchings <bhutchings@solarflare.com>
parent 263fb5b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment