Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71d7a277 authored by Tom Herbert's avatar Tom Herbert Committed by David S. Miller
Browse files

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: default avatarTom Herbert <therbert@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9ca8600e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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++;
	}