mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
9ca8600ec1
commit
71d7a27725
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue