661-fq_codel_keep_dropped_stats.patch 318 B

12345678910
  1. --- a/net/sched/sch_fq_codel.c
  2. +++ b/net/sched/sch_fq_codel.c
  3. @@ -198,7 +198,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. if (++sch->q.qlen <= sch->limit)
  10. return NET_XMIT_SUCCESS;