net: vxge calls skb_set_hash
authorTom Herbert <therbert@google.com>
Wed, 18 Dec 2013 07:31:36 +0000 (23:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Dec 2013 20:00:53 +0000 (15:00 -0500)
Drivers should call skb_set_hash to set the hash and its type
in an skbuff.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/neterion/vxge/vxge-main.c

index 5d4ad589ebf321fc23db7c0f995cf56a15e21992..11b1c70df2b80e6963cfe6fddd7831ae3c7be299 100644 (file)
@@ -507,7 +507,8 @@ vxge_rx_1b_compl(struct __vxge_hw_ring *ringh, void *dtr,
                 * if rss is disabled/enabled, so key off of that.
                 */
                if (ext_info.rth_value)
-                       skb->rxhash = ext_info.rth_value;
+                       skb_set_hash(skb, ext_info.rth_value,
+                                    PKT_HASH_TYPE_L3);
 
                vxge_rx_complete(ring, skb, ext_info.vlan,
                        pkt_length, &ext_info);