kernel: fix ip6_tunnel compilation
[openwrt.git] / target / linux / generic / patches-4.4 / 664-codel_fix_3_12.patch
1 --- a/net/sched/sch_api.c
2 +++ b/net/sched/sch_api.c
3 @@ -1946,7 +1946,7 @@ static int __init pktsched_init(void)
4                 return err;
5         }
6  
7 -       register_qdisc(&pfifo_fast_ops);
8 +       register_qdisc(&fq_codel_qdisc_ops);
9         register_qdisc(&pfifo_qdisc_ops);
10         register_qdisc(&bfifo_qdisc_ops);
11         register_qdisc(&pfifo_head_drop_qdisc_ops);
12 --- a/net/sched/sch_generic.c
13 +++ b/net/sched/sch_generic.c
14 @@ -31,7 +31,7 @@
15  #include <net/dst.h>
16  
17  /* Qdisc to use by default */
18 -const struct Qdisc_ops *default_qdisc_ops = &pfifo_fast_ops;
19 +const struct Qdisc_ops *default_qdisc_ops = &fq_codel_qdisc_ops;
20  EXPORT_SYMBOL(default_qdisc_ops);
21  
22  /* Main transmission queue. */