--- zzzz-none-000/linux-4.4.60/net/sched/sch_fq_codel.c 2017-04-08 07:53:53.000000000 +0000 +++ dragonfly-4020-701/linux-4.4.60/net/sched/sch_fq_codel.c 2018-11-08 13:36:17.000000000 +0000 @@ -198,7 +198,6 @@ list_add_tail(&flow->flowchain, &q->new_flows); q->new_flow_count++; flow->deficit = q->quantum; - flow->dropped = 0; } if (++sch->q.qlen <= sch->limit) return NET_XMIT_SUCCESS; @@ -417,7 +416,7 @@ struct fq_codel_sched_data *q = qdisc_priv(sch); int i; - sch->limit = 10*1024; + sch->limit = 1024; q->flows_cnt = 1024; q->quantum = psched_mtu(qdisc_dev(sch)); q->perturbation = prandom_u32(); @@ -629,7 +628,7 @@ .walk = fq_codel_walk, }; -static struct Qdisc_ops fq_codel_qdisc_ops __read_mostly = { +struct Qdisc_ops fq_codel_qdisc_ops __read_mostly = { .cl_ops = &fq_codel_class_ops, .id = "fq_codel", .priv_size = sizeof(struct fq_codel_sched_data), @@ -645,6 +644,7 @@ .dump_stats = fq_codel_dump_stats, .owner = THIS_MODULE, }; +EXPORT_SYMBOL(fq_codel_qdisc_ops); static int __init fq_codel_module_init(void) {