From: Dave Taht <[email protected]> dropped statistic is useful if retained. --- ...56-fq_codel-dont-remove-dropped-statistic.patch | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 target/linux/generic/patches-3.3/056-fq_codel-dont-remove-dropped-statistic.patch
diff --git a/target/linux/generic/patches-3.3/056-fq_codel-dont-remove-dropped-statistic.patch b/target/linux/generic/patches-3.3/056-fq_codel-dont-remove-dropped-statistic.patch new file mode 100644 index 0000000..4491a67 --- /dev/null +++ b/target/linux/generic/patches-3.3/056-fq_codel-dont-remove-dropped-statistic.patch @@ -0,0 +1,24 @@ +From 0bca85ea6c06392e4ca04ebd7270cb567d8ebfb4 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Dave=20T=C3=A4ht?= <[email protected]> +Date: Mon, 17 Sep 2012 18:03:15 -0700 +Subject: [PATCH 710/712] fq_codel: dont remove dropped statistic + +--- + net/sched/sch_fq_codel.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/net/sched/sch_fq_codel.c b/net/sched/sch_fq_codel.c +index 4e606fc..ba944bd 100644 +--- a/net/sched/sch_fq_codel.c ++++ b/net/sched/sch_fq_codel.c +@@ -193,7 +193,6 @@ static int fq_codel_enqueue(struct sk_buff *skb, struct Qdisc *sch) + 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; +-- +1.7.9.5 + -- 1.7.9.5 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
