2014-03-07 19:27:00 +08:00
|
|
|
--- a/net/sched/sch_api.c
|
|
|
|
+++ b/net/sched/sch_api.c
|
2014-03-26 22:14:20 +08:00
|
|
|
@@ -1914,7 +1914,7 @@ static int __init pktsched_init(void)
|
2014-03-07 19:27:00 +08:00
|
|
|
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. */
|