diff options
Diffstat (limited to 'net/packet/af_packet.c')
-rw-r--r-- | net/packet/af_packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index 47931ebfaef3..f37d087ae652 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c | |||
@@ -277,7 +277,7 @@ static bool packet_use_direct_xmit(const struct packet_sock *po) | |||
277 | 277 | ||
278 | static u16 __packet_pick_tx_queue(struct net_device *dev, struct sk_buff *skb) | 278 | static u16 __packet_pick_tx_queue(struct net_device *dev, struct sk_buff *skb) |
279 | { | 279 | { |
280 | return (u16) raw_smp_processor_id() % dev->real_num_tx_queues; | 280 | return dev_pick_tx_cpu_id(dev, skb, NULL, NULL); |
281 | } | 281 | } |
282 | 282 | ||
283 | static u16 packet_pick_tx_queue(struct sk_buff *skb) | 283 | static u16 packet_pick_tx_queue(struct sk_buff *skb) |