generic: mtd: backport SPI_NOR_HAS_LOCK
[openwrt/openwrt.git] / target / linux / generic / patches-4.4 / 661-fq_codel_keep_dropped_stats.patch
1 --- a/net/sched/sch_fq_codel.c
2 +++ b/net/sched/sch_fq_codel.c
3 @@ -219,7 +219,6 @@ static int fq_codel_enqueue(struct sk_bu
4 list_add_tail(&flow->flowchain, &q->new_flows);
5 q->new_flow_count++;
6 flow->deficit = q->quantum;
7 - flow->dropped = 0;
8 }
9 q->memory_usage += skb->truesize;
10 memory_limited = q->memory_usage > q->memory_limit;