X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fnet%2Fsky2.c;h=7eeefa2d6c89c8fd1691add25fbbbfde5ea7c2cd;hb=8a84fc15ae5cafcc366dd85cf8e1ab2040679abc;hp=c4c51f1418f541fb5069757662a922a854676e72;hpb=28eb177dfa5982d132edceed891cb3885df258bb;p=linux-2.6 diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index c4c51f1418..7eeefa2d6c 100644 --- a/drivers/net/sky2.c +++ b/drivers/net/sky2.c @@ -1184,7 +1184,7 @@ static unsigned tx_le_req(const struct sk_buff *skb) if (skb_is_gso(skb)) ++count; - if (skb->ip_summed == CHECKSUM_HW) + if (skb->ip_summed == CHECKSUM_PARTIAL) ++count; return count; @@ -1284,7 +1284,7 @@ static int sky2_xmit_frame(struct sk_buff *skb, struct net_device *dev) #endif /* Handle TCP checksum offload */ - if (skb->ip_summed == CHECKSUM_HW) { + if (skb->ip_summed == CHECKSUM_PARTIAL) { unsigned offset = skb->h.raw - skb->data; u32 tcpsum; @@ -1982,7 +1982,7 @@ static int sky2_status_intr(struct sky2_hw *hw, int to_do) #endif case OP_RXCHKS: skb = sky2->rx_ring[sky2->rx_next].skb; - skb->ip_summed = CHECKSUM_HW; + skb->ip_summed = CHECKSUM_COMPLETE; skb->csum = status & 0xffff; break;