Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 42bdf083 authored by Tom Herbert's avatar Tom Herbert Committed by Jeff Kirsher
Browse files

net: igb calls skb_set_hash



Drivers should call skb_set_hash to set the hash and its type
in an skbuff.

Signed-off-by: default avatarTom Herbert <therbert@google.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent e25909bc
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -6620,7 +6620,9 @@ static inline void igb_rx_hash(struct igb_ring *ring,
			       struct sk_buff *skb)
{
	if (ring->netdev->features & NETIF_F_RXHASH)
		skb->rxhash = le32_to_cpu(rx_desc->wb.lower.hi_dword.rss);
		skb_set_hash(skb,
			     le32_to_cpu(rx_desc->wb.lower.hi_dword.rss),
			     PKT_HASH_TYPE_L3);
}

/**