diff options
author | Tom Herbert <therbert@google.com> | 2014-08-28 08:28:01 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-30 07:41:12 +0400 |
commit | 71d7a2772510a05a2cec4d005f984043827718e1 (patch) | |
tree | db4c97c3124d1e3902ef43d65f0e93524008561c /drivers/net/ethernet/qlogic/qlcnic | |
parent | 9ca8600ec1e2ea209b20a38d618ab2c00e86da28 (diff) | |
download | linux-71d7a2772510a05a2cec4d005f984043827718e1.tar.xz |
qlcnic: Set skb->csum_level for encapsulated checksum
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>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c index e45bf09af0c9..18e5de72e9b4 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++; } |