You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
655 B
23 lines
655 B
10 years ago
|
--- a/net/sched/sch_api.c
|
||
|
+++ b/net/sched/sch_api.c
|
||
|
@@ -1945,7 +1945,7 @@ static int __init pktsched_init(void)
|
||
|
return err;
|
||
|
}
|
||
|
|
||
|
- register_qdisc(&pfifo_fast_ops);
|
||
|
+ register_qdisc(&fq_codel_qdisc_ops);
|
||
|
register_qdisc(&pfifo_qdisc_ops);
|
||
|
register_qdisc(&bfifo_qdisc_ops);
|
||
|
register_qdisc(&pfifo_head_drop_qdisc_ops);
|
||
|
--- a/net/sched/sch_generic.c
|
||
|
+++ b/net/sched/sch_generic.c
|
||
|
@@ -31,7 +31,7 @@
|
||
|
#include <net/dst.h>
|
||
|
|
||
|
/* Qdisc to use by default */
|
||
|
-const struct Qdisc_ops *default_qdisc_ops = &pfifo_fast_ops;
|
||
|
+const struct Qdisc_ops *default_qdisc_ops = &fq_codel_qdisc_ops;
|
||
|
EXPORT_SYMBOL(default_qdisc_ops);
|
||
|
|
||
|
/* Main transmission queue. */
|