On Thu, 2016-04-28 at 16:09 -0400, Neil Horman wrote:
> This was recently reported to me, and reproduced on the latest net kernel, 
> when
> attempting to run netperf from a host that had a netem qdisc attached to the
> egress interface:

>  
> -     return NET_XMIT_SUCCESS;
> +finish_segs:
> +     while (segs) {
> +             skb2 = segs->next;
> +             segs->next = NULL;
> +             qdisc_skb_cb(segs)->pkt_len = segs->len;
> +             rc = qdisc_enqueue(segs, sch);
> +             if (rc != NET_XMIT_SUCCESS) {
> +                     if (net_xmit_drop_count(rc))
> +                             qdisc_qstats_drop(sch);
> +             }
> +             segs = skb2;
> +     }
> +     return rc;
>  }

It seems you missed the qdisc_tree_reduce_backlog() call ?



Reply via email to