Merge "udpv6: Fix the checksum computation when HW checksum does not apply"
This commit is contained in:
commit
6d73a0bbe1
1 changed files with 1 additions and 0 deletions
|
@ -1073,6 +1073,7 @@ static void udp6_hwcsum_outgoing(struct sock *sk, struct sk_buff *skb,
|
|||
*/
|
||||
offset = skb_transport_offset(skb);
|
||||
skb->csum = skb_checksum(skb, offset, skb->len - offset, 0);
|
||||
csum = skb->csum;
|
||||
|
||||
skb->ip_summed = CHECKSUM_NONE;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue