Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108041
b: refs/heads/master
c: 827ebd6
h: refs/heads/master
i:
  108039: a9280f3
v: v3
  • Loading branch information
David S. Miller committed Aug 8, 2008
1 parent 4f83b77 commit b88cf23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 22c7fdf4a7acfa24d9d498b1357e6c07d0e6c553
refs/heads/master: 827ebd6410005b05b3c930ef6a116666c6986886
8 changes: 4 additions & 4 deletions trunk/net/sched/sch_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ struct Qdisc *qdisc_lookup(struct net_device *dev, u32 handle)

for (i = 0; i < dev->num_tx_queues; i++) {
struct netdev_queue *txq = netdev_get_tx_queue(dev, i);
struct Qdisc *q, *txq_root = txq->qdisc;
struct Qdisc *q, *txq_root = txq->qdisc_sleeping;

if (!(txq_root->flags & TCQ_F_BUILTIN) &&
txq_root->handle == handle)
Expand Down Expand Up @@ -793,7 +793,7 @@ qdisc_create(struct net_device *dev, struct netdev_queue *dev_queue,
}
}
if ((parent != TC_H_ROOT) && !(sch->flags & TCQ_F_INGRESS))
list_add_tail(&sch->list, &dev_queue->qdisc->list);
list_add_tail(&sch->list, &dev_queue->qdisc_sleeping->list);

return sch;
}
Expand Down Expand Up @@ -1236,11 +1236,11 @@ static int tc_dump_qdisc(struct sk_buff *skb, struct netlink_callback *cb)
q_idx = 0;

dev_queue = netdev_get_tx_queue(dev, 0);
if (tc_dump_qdisc_root(dev_queue->qdisc, skb, cb, &q_idx, s_q_idx) < 0)
if (tc_dump_qdisc_root(dev_queue->qdisc_sleeping, skb, cb, &q_idx, s_q_idx) < 0)
goto done;

dev_queue = &dev->rx_queue;
if (tc_dump_qdisc_root(dev_queue->qdisc, skb, cb, &q_idx, s_q_idx) < 0)
if (tc_dump_qdisc_root(dev_queue->qdisc_sleeping, skb, cb, &q_idx, s_q_idx) < 0)
goto done;

cont:
Expand Down

0 comments on commit b88cf23

Please sign in to comment.