diff options
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/dev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 9d8bfd9d444b..578415c1ef75 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -2610,7 +2610,8 @@ set_rps_cpu(struct net_device *dev, struct sk_buff *skb, | |||
2610 | int rc; | 2610 | int rc; |
2611 | 2611 | ||
2612 | /* Should we steer this flow to a different hardware queue? */ | 2612 | /* Should we steer this flow to a different hardware queue? */ |
2613 | if (!skb_rx_queue_recorded(skb) || !dev->rx_cpu_rmap) | 2613 | if (!skb_rx_queue_recorded(skb) || !dev->rx_cpu_rmap || |
2614 | !(dev->features & NETIF_F_NTUPLE)) | ||
2614 | goto out; | 2615 | goto out; |
2615 | rxq_index = cpu_rmap_lookup_index(dev->rx_cpu_rmap, next_cpu); | 2616 | rxq_index = cpu_rmap_lookup_index(dev->rx_cpu_rmap, next_cpu); |
2616 | if (rxq_index == skb_get_rx_queue(skb)) | 2617 | if (rxq_index == skb_get_rx_queue(skb)) |