|
@@ -38,7 +38,7 @@ static void nft_queue_eval(const struct nft_expr *expr,
|
|
|
|
|
|
if (priv->queues_total > 1) {
|
|
if (priv->queues_total > 1) {
|
|
if (priv->flags & NFT_QUEUE_FLAG_CPU_FANOUT) {
|
|
if (priv->flags & NFT_QUEUE_FLAG_CPU_FANOUT) {
|
|
- int cpu = smp_processor_id();
|
|
|
|
|
|
+ int cpu = raw_smp_processor_id();
|
|
|
|
|
|
queue = priv->queuenum + cpu % priv->queues_total;
|
|
queue = priv->queuenum + cpu % priv->queues_total;
|
|
} else {
|
|
} else {
|