aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/pch_gbe/pch_gbe_main.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/pch_gbe/pch_gbe_main.c b/drivers/net/pch_gbe/pch_gbe_main.c
index 4ebd1d4ad3ed..9f6c4025c6ea 100644
--- a/drivers/net/pch_gbe/pch_gbe_main.c
+++ b/drivers/net/pch_gbe/pch_gbe_main.c
@@ -1493,12 +1493,11 @@ pch_gbe_clean_rx(struct pch_gbe_adapter *adapter,
1493 /* Write meta date of skb */ 1493 /* Write meta date of skb */
1494 skb_put(skb, length); 1494 skb_put(skb, length);
1495 skb->protocol = eth_type_trans(skb, netdev); 1495 skb->protocol = eth_type_trans(skb, netdev);
1496 if ((tcp_ip_status & PCH_GBE_RXD_ACC_STAT_TCPIPOK) == 1496 if (tcp_ip_status & PCH_GBE_RXD_ACC_STAT_TCPIPOK)
1497 PCH_GBE_RXD_ACC_STAT_TCPIPOK) {
1498 skb->ip_summed = CHECKSUM_UNNECESSARY;
1499 } else {
1500 skb->ip_summed = CHECKSUM_NONE; 1497 skb->ip_summed = CHECKSUM_NONE;
1501 } 1498 else
1499 skb->ip_summed = CHECKSUM_UNNECESSARY;
1500
1502 napi_gro_receive(&adapter->napi, skb); 1501 napi_gro_receive(&adapter->napi, skb);
1503 (*work_done)++; 1502 (*work_done)++;
1504 pr_debug("Receive skb->ip_summed: %d length: %d\n", 1503 pr_debug("Receive skb->ip_summed: %d length: %d\n",