Loading net/sched/sch_red.c +4 −2 Original line number Diff line number Diff line Loading @@ -135,7 +135,7 @@ red_dequeue(struct Qdisc* sch) skb = qdisc_dequeue_head(sch); if (skb == NULL) if (skb == NULL && !red_is_idling(&q->parms)) red_start_of_idle_period(&q->parms); return skb; Loading @@ -154,7 +154,9 @@ static unsigned int red_drop(struct Qdisc* sch) return len; } if (!red_is_idling(&q->parms)) red_start_of_idle_period(&q->parms); return 0; } Loading Loading
net/sched/sch_red.c +4 −2 Original line number Diff line number Diff line Loading @@ -135,7 +135,7 @@ red_dequeue(struct Qdisc* sch) skb = qdisc_dequeue_head(sch); if (skb == NULL) if (skb == NULL && !red_is_idling(&q->parms)) red_start_of_idle_period(&q->parms); return skb; Loading @@ -154,7 +154,9 @@ static unsigned int red_drop(struct Qdisc* sch) return len; } if (!red_is_idling(&q->parms)) red_start_of_idle_period(&q->parms); return 0; } Loading