diff options
Diffstat (limited to 'drivers/net/atlx')
-rw-r--r-- | drivers/net/atlx/atl1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c index 53363108994e..def8df83359c 100644 --- a/drivers/net/atlx/atl1.c +++ b/drivers/net/atlx/atl1.c | |||
@@ -2174,7 +2174,7 @@ static int atl1_tx_csum(struct atl1_adapter *adapter, struct sk_buff *skb, | |||
2174 | u8 css, cso; | 2174 | u8 css, cso; |
2175 | 2175 | ||
2176 | if (likely(skb->ip_summed == CHECKSUM_PARTIAL)) { | 2176 | if (likely(skb->ip_summed == CHECKSUM_PARTIAL)) { |
2177 | css = (u8) (skb->csum_start - skb_headroom(skb)); | 2177 | css = skb_checksum_start_offset(skb); |
2178 | cso = css + (u8) skb->csum_offset; | 2178 | cso = css + (u8) skb->csum_offset; |
2179 | if (unlikely(css & 0x1)) { | 2179 | if (unlikely(css & 0x1)) { |
2180 | /* L1 hardware requires an even number here */ | 2180 | /* L1 hardware requires an even number here */ |