|
@@ -2396,8 +2396,8 @@ static inline int get_xps_queue(struct net_device *dev, struct sk_buff *skb)
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
-static struct netdev_queue *dev_pick_tx(struct net_device *dev,
|
|
|
- struct sk_buff *skb)
|
|
|
+struct netdev_queue *netdev_pick_tx(struct net_device *dev,
|
|
|
+ struct sk_buff *skb)
|
|
|
{
|
|
|
int queue_index;
|
|
|
const struct net_device_ops *ops = dev->netdev_ops;
|
|
@@ -2571,7 +2571,7 @@ int dev_queue_xmit(struct sk_buff *skb)
|
|
|
|
|
|
skb_update_prio(skb);
|
|
|
|
|
|
- txq = dev_pick_tx(dev, skb);
|
|
|
+ txq = netdev_pick_tx(dev, skb);
|
|
|
q = rcu_dereference_bh(txq->qdisc);
|
|
|
|
|
|
#ifdef CONFIG_NET_CLS_ACT
|