kernel: add linux 4.4 support
[openwrt.git] / target / linux / generic / patches-4.4 / 660-fq_codel_defaults.patch
1 --- a/net/sched/sch_fq_codel.c
2 +++ b/net/sched/sch_fq_codel.c
3 @@ -412,9 +412,9 @@ static int fq_codel_init(struct Qdisc *s
4         struct fq_codel_sched_data *q = qdisc_priv(sch);
5         int i;
6  
7 -       sch->limit = 10*1024;
8 +       sch->limit = 1024;
9         q->flows_cnt = 1024;
10 -       q->quantum = psched_mtu(qdisc_dev(sch));
11 +       q->quantum = 300;
12         q->perturbation = prandom_u32();
13         INIT_LIST_HEAD(&q->new_flows);
14         INIT_LIST_HEAD(&q->old_flows);