aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/skge.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/skge.c')
-rw-r--r--drivers/net/skge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c
index 4b267b85fff2..9142d91355bc 100644
--- a/drivers/net/skge.c
+++ b/drivers/net/skge.c
@@ -2328,7 +2328,7 @@ static int skge_xmit_frame(struct sk_buff *skb, struct net_device *dev)
2328 td->dma_lo = map; 2328 td->dma_lo = map;
2329 td->dma_hi = map >> 32; 2329 td->dma_hi = map >> 32;
2330 2330
2331 if (skb->ip_summed == CHECKSUM_HW) { 2331 if (skb->ip_summed == CHECKSUM_PARTIAL) {
2332 int offset = skb->h.raw - skb->data; 2332 int offset = skb->h.raw - skb->data;
2333 2333
2334 /* This seems backwards, but it is what the sk98lin 2334 /* This seems backwards, but it is what the sk98lin
@@ -2630,7 +2630,7 @@ static struct sk_buff *skge_rx_get(struct net_device *dev,
2630 skb_put(skb, len); 2630 skb_put(skb, len);
2631 if (skge->rx_csum) { 2631 if (skge->rx_csum) {
2632 skb->csum = csum; 2632 skb->csum = csum;
2633 skb->ip_summed = CHECKSUM_HW; 2633 skb->ip_summed = CHECKSUM_COMPLETE;
2634 } 2634 }
2635 2635
2636 skb->protocol = eth_type_trans(skb, dev); 2636 skb->protocol = eth_type_trans(skb, dev);