aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2008-07-20 03:08:04 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-20 03:08:04 -0400
commit5f86173bdf15981ca49d0434f638b68f70a35644 (patch)
treee6792339e577ed4a8261358e56df9f1a2b87f655 /net/core
parentdb7a94d60f871ce6a52e97d82dea476cee0c4ea0 (diff)
net_sched: Add qdisc_enqueue wrapper
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/dev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index 065b9817e209..2eed17bcb2dd 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -1781,7 +1781,7 @@ gso:
1781 1781
1782 spin_lock(root_lock); 1782 spin_lock(root_lock);
1783 1783
1784 rc = q->enqueue(skb, q); 1784 rc = qdisc_enqueue_root(skb, q);
1785 qdisc_run(q); 1785 qdisc_run(q);
1786 1786
1787 spin_unlock(root_lock); 1787 spin_unlock(root_lock);
@@ -2083,7 +2083,7 @@ static int ing_filter(struct sk_buff *skb)
2083 q = rxq->qdisc; 2083 q = rxq->qdisc;
2084 if (q) { 2084 if (q) {
2085 spin_lock(qdisc_lock(q)); 2085 spin_lock(qdisc_lock(q));
2086 result = q->enqueue(skb, q); 2086 result = qdisc_enqueue_root(skb, q);
2087 spin_unlock(qdisc_lock(q)); 2087 spin_unlock(qdisc_lock(q));
2088 } 2088 }
2089 2089