diff options
Diffstat (limited to 'drivers/net/sk98lin')
-rw-r--r-- | drivers/net/sk98lin/skge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sk98lin/skge.c b/drivers/net/sk98lin/skge.c index a5d41ebc9fb4..12cbfd190dd7 100644 --- a/drivers/net/sk98lin/skge.c +++ b/drivers/net/sk98lin/skge.c | |||
@@ -1562,7 +1562,7 @@ struct sk_buff *pMessage) /* pointer to send-message */ | |||
1562 | 1562 | ||
1563 | if (pMessage->ip_summed == CHECKSUM_PARTIAL) { | 1563 | if (pMessage->ip_summed == CHECKSUM_PARTIAL) { |
1564 | u16 hdrlen = pMessage->h.raw - pMessage->data; | 1564 | u16 hdrlen = pMessage->h.raw - pMessage->data; |
1565 | u16 offset = hdrlen + pMessage->csum; | 1565 | u16 offset = hdrlen + pMessage->csum_offset; |
1566 | 1566 | ||
1567 | if ((pMessage->h.ipiph->protocol == IPPROTO_UDP ) && | 1567 | if ((pMessage->h.ipiph->protocol == IPPROTO_UDP ) && |
1568 | (pAC->GIni.GIChipRev == 0) && | 1568 | (pAC->GIni.GIChipRev == 0) && |
@@ -1681,7 +1681,7 @@ struct sk_buff *pMessage) /* pointer to send-message */ | |||
1681 | */ | 1681 | */ |
1682 | if (pMessage->ip_summed == CHECKSUM_PARTIAL) { | 1682 | if (pMessage->ip_summed == CHECKSUM_PARTIAL) { |
1683 | u16 hdrlen = pMessage->h.raw - pMessage->data; | 1683 | u16 hdrlen = pMessage->h.raw - pMessage->data; |
1684 | u16 offset = hdrlen + pMessage->csum; | 1684 | u16 offset = hdrlen + pMessage->csum_offset; |
1685 | 1685 | ||
1686 | Control = BMU_STFWD; | 1686 | Control = BMU_STFWD; |
1687 | 1687 | ||