summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.19/664-codel_fix_3_12.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2015-01-25 15:20:39 +0000
committerImre Kaloz <kaloz@openwrt.org>2015-01-25 15:20:39 +0000
commitd26694243af236fed09a4b38f3cc68e40ad063b5 (patch)
treedf356ae59718ae0996986ccb61155243098dbc3f /target/linux/generic/patches-3.19/664-codel_fix_3_12.patch
parenta46bb6ec6a0ed6eb56dc2f4551a57e63a7292753 (diff)
downloadmtk-20170518-d26694243af236fed09a4b38f3cc68e40ad063b5.zip
mtk-20170518-d26694243af236fed09a4b38f3cc68e40ad063b5.tar.gz
mtk-20170518-d26694243af236fed09a4b38f3cc68e40ad063b5.tar.bz2
generic: add preliminary 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44126
Diffstat (limited to 'target/linux/generic/patches-3.19/664-codel_fix_3_12.patch')
-rw-r--r--target/linux/generic/patches-3.19/664-codel_fix_3_12.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.19/664-codel_fix_3_12.patch b/target/linux/generic/patches-3.19/664-codel_fix_3_12.patch
new file mode 100644
index 0000000..2682441
--- /dev/null
+++ b/target/linux/generic/patches-3.19/664-codel_fix_3_12.patch
@@ -0,0 +1,22 @@
+--- 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. */