diff options
Diffstat (limited to 'net')
| -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 9d70f1349926..cc803c63059a 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c | |||
| @@ -310,7 +310,7 @@ static bool packet_use_direct_xmit(const struct packet_sock *po) | |||
| 310 | 310 | ||
| 311 | static u16 packet_pick_tx_queue(struct net_device *dev) | 311 | static u16 packet_pick_tx_queue(struct net_device *dev) |
| 312 | { | 312 | { |
| 313 | return (u16) smp_processor_id() % dev->real_num_tx_queues; | 313 | return (u16) raw_smp_processor_id() % dev->real_num_tx_queues; |
| 314 | } | 314 | } |
| 315 | 315 | ||
| 316 | /* register_prot_hook must be invoked with the po->bind_lock held, | 316 | /* register_prot_hook must be invoked with the po->bind_lock held, |
