aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_init.c')
-rw-r--r--drivers/net/qlcnic/qlcnic_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic_init.c b/drivers/net/qlcnic/qlcnic_init.c
index 8e0e7a3bbf9e..8e47d7aea562 100644
--- a/drivers/net/qlcnic/qlcnic_init.c
+++ b/drivers/net/qlcnic/qlcnic_init.c
@@ -1364,7 +1364,8 @@ static struct sk_buff *qlcnic_process_rxbuf(struct qlcnic_adapter *adapter,
1364 1364
1365 skb = buffer->skb; 1365 skb = buffer->skb;
1366 1366
1367 if (likely(adapter->rx_csum && cksum == STATUS_CKSUM_OK)) { 1367 if (likely(adapter->rx_csum && (cksum == STATUS_CKSUM_OK ||
1368 cksum == STATUS_CKSUM_LOOP))) {
1368 adapter->stats.csummed++; 1369 adapter->stats.csummed++;
1369 skb->ip_summed = CHECKSUM_UNNECESSARY; 1370 skb->ip_summed = CHECKSUM_UNNECESSARY;
1370 } else { 1371 } else {