projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b21567
)
net: vmxnet3 calls skb_set_hash
author
Tom Herbert
<therbert@google.com>
Wed, 18 Dec 2013 07:32:08 +0000
(23:32 -0800)
committer
David 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/vmxnet3/vmxnet3_drv.c
patch
|
blob
|
history
diff --git
a/drivers/net/vmxnet3/vmxnet3_drv.c
b/drivers/net/vmxnet3/vmxnet3_drv.c
index a300a18c550a82ecb69832f06d35f51813fc21b8..c0eab72cc79f5a2d8a86f28b454b14e819c31e6f 100644
(file)
--- a/
drivers/net/vmxnet3/vmxnet3_drv.c
+++ b/
drivers/net/vmxnet3/vmxnet3_drv.c
@@
-1235,7
+1235,8
@@
vmxnet3_rq_rx_complete(struct vmxnet3_rx_queue *rq,
#ifdef VMXNET3_RSS
if (rcd->rssType != VMXNET3_RCD_RSS_TYPE_NONE &&
(adapter->netdev->features & NETIF_F_RXHASH))
- ctx->skb->rxhash = le32_to_cpu(rcd->rssHash);
+ skb_set_hash(skb, le32_to_cpu(rcd->rssHash),
+ PKT_HASH_TYPE_L3);
#endif
skb_put(ctx->skb, rcd->len);