aboutsummaryrefslogtreecommitdiff
path: root/include/net/udplite.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/udplite.h')
-rw-r--r--include/net/udplite.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/udplite.h b/include/net/udplite.h
index 3abaab7b78c..67ac5142430 100644
--- a/include/net/udplite.h
+++ b/include/net/udplite.h
@@ -90,9 +90,9 @@ static __inline__ int udplite6_csum_init(struct sk_buff *skb, struct udphdr *uh)
int rc = udplite_checksum_init(skb, uh);
if (!rc)
- skb->csum = ~csum_ipv6_magic(&skb->nh.ipv6h->saddr,
+ skb->csum = ~csum_unfold(csum_ipv6_magic(&skb->nh.ipv6h->saddr,
&skb->nh.ipv6h->daddr,
- skb->len, IPPROTO_UDPLITE, 0);
+ skb->len, IPPROTO_UDPLITE, 0));
return rc;
}