projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac727c4
)
net: bnx2 calls skb_set_hash
author
Tom Herbert
<therbert@google.com>
Wed, 18 Dec 2013 07:22:57 +0000
(23:22 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 18 Dec 2013 20:00:51 +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/broadcom/bnx2.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/broadcom/bnx2.c
b/drivers/net/ethernet/broadcom/bnx2.c
index d9980ad00b4b8d65bc23061fd71d28e936d48cb1..0ced3587c88877c7c56a9d6c034d2306485e5484 100644
(file)
--- a/
drivers/net/ethernet/broadcom/bnx2.c
+++ b/
drivers/net/ethernet/broadcom/bnx2.c
@@
-3234,7
+3234,8
@@
bnx2_rx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget)
if ((bp->dev->features & NETIF_F_RXHASH) &&
((status & L2_FHDR_STATUS_USE_RXHASH) ==
L2_FHDR_STATUS_USE_RXHASH))
- skb->rxhash = rx_hdr->l2_fhdr_hash;
+ skb_set_hash(skb, rx_hdr->l2_fhdr_hash,
+ PKT_HASH_TYPE_L3);
skb_record_rx_queue(skb, bnapi - &bp->bnx2_napi[0]);
napi_gro_receive(&bnapi->napi, skb);