mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 07:31:41 +00:00
net: add skb_get_tx_queue() helper
Replace occurences of skb_get_queue_mapping() and follow-up netdev_get_tx_queue() with an actual helper function. Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a3bf5c429e
commit
10c51b5623
5 changed files with 13 additions and 9 deletions
|
@ -115,7 +115,7 @@ static void queue_process(struct work_struct *work)
|
|||
continue;
|
||||
}
|
||||
|
||||
txq = netdev_get_tx_queue(dev, skb_get_queue_mapping(skb));
|
||||
txq = skb_get_tx_queue(dev, skb);
|
||||
|
||||
local_irq_save(flags);
|
||||
HARD_TX_LOCK(dev, txq, smp_processor_id());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue