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:
202863f
)
benet: Set skb->csum_level for encapsulated checksum
author
Tom Herbert
<therbert@google.com>
Thu, 28 Aug 2014 04:27:17 +0000
(21:27 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 30 Aug 2014 03:41:11 +0000
(20:41 -0700)
Set skb->csum_level instead of skb->encapsulation when indicating
CHECKSUM_UNNECESSARY for an encapsulated checksum.
Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/emulex/benet/be_main.c
b/drivers/net/ethernet/emulex/benet/be_main.c
index 42e9cea52bdcc58ff0837fc2418d68ab10233566..435d060f630b84a701f1b7f27662a8b2ca4c5450 100644
(file)
--- a/
drivers/net/ethernet/emulex/benet/be_main.c
+++ b/
drivers/net/ethernet/emulex/benet/be_main.c
@@
-1683,7
+1683,7
@@
static void be_rx_compl_process(struct be_rx_obj *rxo, struct napi_struct *napi,
if (netdev->features & NETIF_F_RXHASH)
skb_set_hash(skb, rxcp->rss_hash, PKT_HASH_TYPE_L3);
- skb->
encapsulation
= rxcp->tunneled;
+ skb->
csum_level
= rxcp->tunneled;
skb_mark_napi_id(skb, napi);
if (rxcp->vlanf)
@@
-1741,7
+1741,7
@@
static void be_rx_compl_process_gro(struct be_rx_obj *rxo,
if (adapter->netdev->features & NETIF_F_RXHASH)
skb_set_hash(skb, rxcp->rss_hash, PKT_HASH_TYPE_L3);
- skb->
encapsulation
= rxcp->tunneled;
+ skb->
csum_level
= rxcp->tunneled;
skb_mark_napi_id(skb, napi);
if (rxcp->vlanf)