Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121669
b: refs/heads/master
c: 8ba25da
h: refs/heads/master
i:
  121667: 89aed5c
v: v3
  • Loading branch information
Jarek Poplawski authored and David S. Miller committed Nov 2, 2008
1 parent c465b71 commit e051890
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 02201464119334690fe209849843881b8e9cfa9f
refs/heads/master: 8ba25dad0ac78850cd46d91186a27d60f7314752
6 changes: 5 additions & 1 deletion trunk/net/sched/sch_netem.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,11 @@ static int netem_enqueue(struct sk_buff *skb, struct Qdisc *sch)
*/
cb->time_to_send = psched_get_time();
q->counter = 0;
ret = q->qdisc->ops->requeue(skb, q->qdisc);

__skb_queue_head(&q->qdisc->q, skb);
q->qdisc->qstats.backlog += qdisc_pkt_len(skb);
q->qdisc->qstats.requeues++;
ret = NET_XMIT_SUCCESS;
}

if (likely(ret == NET_XMIT_SUCCESS)) {
Expand Down

0 comments on commit e051890

Please sign in to comment.