diff --git a/net/core/dev.c b/net/core/dev.c index c1a3baf169570b5b716ca24be81c6bb1d8174d74..2f4d35101f4dfff2872a19cd11f3e7557add97b1 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -2854,6 +2854,8 @@ static u16 skb_tx_hash(const struct net_device *dev, if (skb_rx_queue_recorded(skb)) { hash = skb_get_rx_queue(skb); + if (hash >= qoffset) + hash -= qoffset; while (unlikely(hash >= qcount)) hash -= qcount; return hash + qoffset;