ipsec: update MAX_AH_AUTH_LEN to support sha512
[deliverable/linux.git] / drivers / net / niu.c
index f64c42414bd752b713df5a0534d29437f5d55d97..2541321bad82f11119db23c4ac7d3a3bed5208f2 100644 (file)
@@ -6589,7 +6589,7 @@ static u64 niu_compute_tx_flags(struct sk_buff *skb, struct ethhdr *ehdr,
                             (ip_proto == IPPROTO_UDP ?
                              TXHDR_CSUM_UDP : TXHDR_CSUM_SCTP));
 
-               start = skb_transport_offset(skb) -
+               start = skb_checksum_start_offset(skb) -
                        (pad_bytes + sizeof(struct tx_pkt_hdr));
                stuff = start + skb->csum_offset;
 
This page took 0.024398 seconds and 5 git commands to generate.