qlcnic: Set skb->csum_level for encapsulated checksum
authorTom Herbert <therbert@google.com>
Thu, 28 Aug 2014 04:28:01 +0000 (21:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Aug 2014 03:41:12 +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/qlogic/qlcnic/qlcnic_io.c

index e45bf09..18e5de7 100644 (file)
@@ -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++;
        }