net: e1000e calls skb_set_hash
authorTom Herbert <therbert@google.com>
Wed, 18 Dec 2013 16:46:48 +0000 (16:46 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 13 Mar 2014 01:58:26 +0000 (18:58 -0700)
Drivers should call skb_set_hash to set the hash and its type
in an skbuff.

Signed-off-by: Tom Herbert <therbert@google.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c

index 5129c4cd14bc600512cc23213410b272f331da1f..3f044e736de8d6b7b809a0d4cf8be1780540388f 100644 (file)
@@ -878,7 +878,7 @@ static inline void e1000_rx_hash(struct net_device *netdev, __le32 rss,
                                 struct sk_buff *skb)
 {
        if (netdev->features & NETIF_F_RXHASH)
-               skb->rxhash = le32_to_cpu(rss);
+               skb_set_hash(skb, le32_to_cpu(rss), PKT_HASH_TYPE_L3);
 }
 
 /**