Merge "udpv6: Fix the checksum computation when HW checksum does not apply"

This commit is contained in:
Linux Build Service Account 2017-09-22 17:26:44 -07:00 committed by Gerrit - the friendly Code Review server
commit 6d73a0bbe1

View file

@ -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;