diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2007-10-21 20:01:29 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-22 05:59:56 -0400 |
commit | 4e3ab47a547616e583c7a5458beced6aa34c8ef3 (patch) | |
tree | b889a8a472c657f706f91c4831c2fd5ee19f6a4e /net/sched/sch_teql.c | |
parent | dfa4091129019959f4608756f76dc687495287ad (diff) |
[NET]: Make and use skb_get_queue_mapping
Make the helper for getting the field, symmetrical to
the "set" one. Return 0 if CONFIG_NETDEVICES_MULTIQUEUE=n
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_teql.c')
-rw-r--r-- | net/sched/sch_teql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_teql.c b/net/sched/sch_teql.c index be57cf317a7..a9fad7162b5 100644 --- a/net/sched/sch_teql.c +++ b/net/sched/sch_teql.c | |||
@@ -266,7 +266,7 @@ static int teql_master_xmit(struct sk_buff *skb, struct net_device *dev) | |||
266 | int busy; | 266 | int busy; |
267 | int nores; | 267 | int nores; |
268 | int len = skb->len; | 268 | int len = skb->len; |
269 | int subq = skb->queue_mapping; | 269 | int subq = skb_get_queue_mapping(skb); |
270 | struct sk_buff *skb_res = NULL; | 270 | struct sk_buff *skb_res = NULL; |
271 | 271 | ||
272 | start = master->slaves; | 272 | start = master->slaves; |