diff options
author | David S. Miller <davem@davemloft.net> | 2008-07-08 20:42:10 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-08 20:42:10 -0400 |
commit | b0e1e6462df3c5944010b3328a546d8fe5d932cd (patch) | |
tree | 37e3f86d09d8b37deb06cf1c142baeb8246bbf97 /net/core/dev.c | |
parent | 555353cfa1aee293de445bfa6de43276138ddd82 (diff) |
netdev: Move rest of qdisc state into struct netdev_queue
Now qdisc, qdisc_sleeping, and qdisc_list also live there.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 2322fb69fd53..ce79c28d739d 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -1720,14 +1720,14 @@ gso: | |||
1720 | * also serializes access to the device queue. | 1720 | * also serializes access to the device queue. |
1721 | */ | 1721 | */ |
1722 | 1722 | ||
1723 | q = rcu_dereference(dev->qdisc); | 1723 | q = rcu_dereference(txq->qdisc); |
1724 | #ifdef CONFIG_NET_CLS_ACT | 1724 | #ifdef CONFIG_NET_CLS_ACT |
1725 | skb->tc_verd = SET_TC_AT(skb->tc_verd,AT_EGRESS); | 1725 | skb->tc_verd = SET_TC_AT(skb->tc_verd,AT_EGRESS); |
1726 | #endif | 1726 | #endif |
1727 | if (q->enqueue) { | 1727 | if (q->enqueue) { |
1728 | /* Grab device queue */ | 1728 | /* Grab device queue */ |
1729 | spin_lock(&txq->lock); | 1729 | spin_lock(&txq->lock); |
1730 | q = dev->qdisc; | 1730 | q = txq->qdisc; |
1731 | if (q->enqueue) { | 1731 | if (q->enqueue) { |
1732 | /* reset queue_mapping to zero */ | 1732 | /* reset queue_mapping to zero */ |
1733 | skb_set_queue_mapping(skb, 0); | 1733 | skb_set_queue_mapping(skb, 0); |