aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sungem.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sungem.c')
-rw-r--r--drivers/net/sungem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c
index 9e992ca4f543..1c5408f83937 100644
--- a/drivers/net/sungem.c
+++ b/drivers/net/sungem.c
@@ -1004,7 +1004,7 @@ static netdev_tx_t gem_start_xmit(struct sk_buff *skb,
1004 1004
1005 ctrl = 0; 1005 ctrl = 0;
1006 if (skb->ip_summed == CHECKSUM_PARTIAL) { 1006 if (skb->ip_summed == CHECKSUM_PARTIAL) {
1007 const u64 csum_start_off = skb_transport_offset(skb); 1007 const u64 csum_start_off = skb_checksum_start_offset(skb);
1008 const u64 csum_stuff_off = csum_start_off + skb->csum_offset; 1008 const u64 csum_stuff_off = csum_start_off + skb->csum_offset;
1009 1009
1010 ctrl = (TXDCTRL_CENAB | 1010 ctrl = (TXDCTRL_CENAB |