summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/e1000e
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2013-12-18 17:46:48 +0100
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-03-13 02:58:26 +0100
commite25909bcdf2e43caa4ea9b1283ade2749da35639 (patch)
treee678e257a6f5e2c78ca650bd3eee2386e5e3988f /drivers/net/ethernet/intel/e1000e
parentMerge branch 'dev_kfree_skb_any' (diff)
downloadlinux-e25909bcdf2e43caa4ea9b1283ade2749da35639.tar.xz
linux-e25909bcdf2e43caa4ea9b1283ade2749da35639.zip
net: e1000e calls skb_set_hash
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>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e')
-rw-r--r--drivers/net/ethernet/intel/e1000e/netdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c
index 5129c4cd14bc..3f044e736de8 100644
--- a/drivers/net/ethernet/intel/e1000e/netdev.c
+++ b/drivers/net/ethernet/intel/e1000e/netdev.c
@@ -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);
}
/**