projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
taprio: Use taprio_reset_tc() to reset Traffic Classes configuration
[linux-2.6-microblaze.git]
/
net
/
sched
/
sch_taprio.c
diff --git
a/net/sched/sch_taprio.c
b/net/sched/sch_taprio.c
index
b82a976
..
21df690
100644
(file)
--- a/
net/sched/sch_taprio.c
+++ b/
net/sched/sch_taprio.c
@@
-1588,7
+1588,7
@@
static void taprio_destroy(struct Qdisc *sch)
}
q->qdiscs = NULL;
- netdev_
set_num_tc(dev, 0
);
+ netdev_
reset_tc(dev
);
if (q->oper_sched)
call_rcu(&q->oper_sched->rcu, taprio_free_sched_cb);