aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pasemi_mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pasemi_mac.c')
-rw-r--r--drivers/net/pasemi_mac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c
index 8ab6ae0a6107..9ec112ca62e4 100644
--- a/drivers/net/pasemi_mac.c
+++ b/drivers/net/pasemi_mac.c
@@ -35,6 +35,7 @@
35#include <linux/tcp.h> 35#include <linux/tcp.h>
36#include <net/checksum.h> 36#include <net/checksum.h>
37#include <linux/inet_lro.h> 37#include <linux/inet_lro.h>
38#include <linux/prefetch.h>
38 39
39#include <asm/irq.h> 40#include <asm/irq.h>
40#include <asm/firmware.h> 41#include <asm/firmware.h>
@@ -808,7 +809,7 @@ static int pasemi_mac_clean_rx(struct pasemi_mac_rxring *rx,
808 skb->csum = (macrx & XCT_MACRX_CSUM_M) >> 809 skb->csum = (macrx & XCT_MACRX_CSUM_M) >>
809 XCT_MACRX_CSUM_S; 810 XCT_MACRX_CSUM_S;
810 } else 811 } else
811 skb->ip_summed = CHECKSUM_NONE; 812 skb_checksum_none_assert(skb);
812 813
813 packets++; 814 packets++;
814 tot_bytes += len; 815 tot_bytes += len;