aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/niu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/niu.c')
-rw-r--r--drivers/net/niu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/niu.c b/drivers/net/niu.c
index f64c42414bd7..2541321bad82 100644
--- a/drivers/net/niu.c
+++ b/drivers/net/niu.c
@@ -6589,7 +6589,7 @@ static u64 niu_compute_tx_flags(struct sk_buff *skb, struct ethhdr *ehdr,
6589 (ip_proto == IPPROTO_UDP ? 6589 (ip_proto == IPPROTO_UDP ?
6590 TXHDR_CSUM_UDP : TXHDR_CSUM_SCTP)); 6590 TXHDR_CSUM_UDP : TXHDR_CSUM_SCTP));
6591 6591
6592 start = skb_transport_offset(skb) - 6592 start = skb_checksum_start_offset(skb) -
6593 (pad_bytes + sizeof(struct tx_pkt_hdr)); 6593 (pad_bytes + sizeof(struct tx_pkt_hdr));
6594 stuff = start + skb->csum_offset; 6594 stuff = start + skb->csum_offset;
6595 6595