kernel: add linux 4.9 support
[openwrt/openwrt.git] / target / linux / generic / patches-4.9 / 660-fq_codel_defaults.patch
1 --- a/net/sched/sch_fq_codel.c
2 +++ b/net/sched/sch_fq_codel.c
3 @@ -479,7 +479,7 @@ static int fq_codel_init(struct Qdisc *s
4
5 sch->limit = 10*1024;
6 q->flows_cnt = 1024;
7 - q->memory_limit = 32 << 20; /* 32 MBytes */
8 + q->memory_limit = 4 << 20; /* 4 MBytes */
9 q->drop_batch_size = 64;
10 q->quantum = psched_mtu(qdisc_dev(sch));
11 q->perturbation = prandom_u32();