aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/atl1e
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/atl1e')
-rw-r--r--drivers/net/atl1e/atl1e_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atl1e/atl1e_main.c b/drivers/net/atl1e/atl1e_main.c
index ef6349bf3b33..e28f8baf394e 100644
--- a/drivers/net/atl1e/atl1e_main.c
+++ b/drivers/net/atl1e/atl1e_main.c
@@ -1649,7 +1649,7 @@ check_sum:
1649 if (likely(skb->ip_summed == CHECKSUM_PARTIAL)) { 1649 if (likely(skb->ip_summed == CHECKSUM_PARTIAL)) {
1650 u8 css, cso; 1650 u8 css, cso;
1651 1651
1652 cso = skb_transport_offset(skb); 1652 cso = skb_checksum_start_offset(skb);
1653 if (unlikely(cso & 0x1)) { 1653 if (unlikely(cso & 0x1)) {
1654 netdev_err(adapter->netdev, 1654 netdev_err(adapter->netdev,
1655 "payload offset should not ant event number\n"); 1655 "payload offset should not ant event number\n");