Commit 2f3c3f98 authored by Alexey Kuznetsov's avatar Alexey Kuznetsov Committed by David S. Miller

Fix bug in sch_prio.c where wrong handle was

being dumped.
parent d2887e3c
......@@ -327,6 +327,7 @@ static int prio_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *
if (cl - 1 > q->bands)
return -ENOENT;
tcm->tcm_handle |= TC_H_MIN(cl);
if (q->queues[cl-1])
tcm->tcm_info = q->queues[cl-1]->handle;
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment