diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2014-08-27 11:11:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-29 20:02:07 -0700 |
commit | 10c51b56232d24f150e39884a9e749fd99cbc60c (patch) | |
tree | 4baa9297a591c45bbb1a148bfc3c9c1822f6ce3a /net/core/netpoll.c | |
parent | a3bf5c429eb5f5ec4d364d51dfa8855efcc005f8 (diff) |
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>
Diffstat (limited to 'net/core/netpoll.c')
-rw-r--r-- | net/core/netpoll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c index a5ad06828d67..12b1df976562 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c @@ -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()); |