summaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-10-21 16:57:55 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-22 02:59:55 -0700
commitdfa4091129019959f4608756f76dc687495287ad (patch)
tree33d8b8a961bcff6b2d8f942d7c24e38210294684 /net/core/dev.c
parent7131c6c73656b92aea806c6e688e97aa49ff911e (diff)
downloadop-kernel-dev-dfa4091129019959f4608756f76dc687495287ad.zip
op-kernel-dev-dfa4091129019959f4608756f76dc687495287ad.tar.gz
[NET]: Use the skb_set_queue_mapping where appropriate
There's already such a helper to initialize this field. Use it. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
-rw-r--r--net/core/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index 38b03da..1672cc1 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -1661,7 +1661,7 @@ gso:
q = dev->qdisc;
if (q->enqueue) {
/* reset queue_mapping to zero */
- skb->queue_mapping = 0;
+ skb_set_queue_mapping(skb, 0);
rc = q->enqueue(skb, q);
qdisc_run(dev);
spin_unlock(&dev->queue_lock);
OpenPOWER on IntegriCloud