* [PATCH v2 net-next 9/9] qlcnic: Set skb->csum_level for encapsulated checksum
@ 2014-08-28 4:28 Tom Herbert
0 siblings, 0 replies; only message in thread
From: Tom Herbert @ 2014-08-28 4:28 UTC (permalink / raw)
To: davem, netdev
Set skb->csum_level instead of skb->encapsulation when indicating
CHECKSUM_UNNECESSARY for an encapsulated checksum.
Signed-off-by: Tom Herbert <therbert@google.com>
---
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
index e45bf09..18e5de7 100644
--- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
+++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
@@ -1753,7 +1753,7 @@ qlcnic_83xx_process_rcv(struct qlcnic_adapter *adapter,
if (qlcnic_encap_length(sts_data[1]) &&
skb->ip_summed == CHECKSUM_UNNECESSARY) {
- skb->encapsulation = 1;
+ skb->csum_level = 1;
adapter->stats.encap_rx_csummed++;
}
--
2.1.0.rc2.206.gedb03e5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-08-28 4:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-28 4:28 [PATCH v2 net-next 9/9] qlcnic: Set skb->csum_level for encapsulated checksum Tom Herbert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox