|
@@ -310,7 +310,7 @@ static bool packet_use_direct_xmit(const struct packet_sock *po)
|
|
|
|
|
|
static u16 packet_pick_tx_queue(struct net_device *dev)
|
|
static u16 packet_pick_tx_queue(struct net_device *dev)
|
|
{
|
|
{
|
|
- return (u16) smp_processor_id() % dev->real_num_tx_queues;
|
|
|
|
|
|
+ return (u16) raw_smp_processor_id() % dev->real_num_tx_queues;
|
|
}
|
|
}
|
|
|
|
|
|
/* register_prot_hook must be invoked with the po->bind_lock held,
|
|
/* register_prot_hook must be invoked with the po->bind_lock held,
|