summaryrefslogtreecommitdiffstats
path: root/include/net/udplite.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-20 18:06:37 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:27:16 -0800
commit8e5200f54062b8af0ed1d186ea0f113854786d89 (patch)
tree71e00b21ae4f8410413f70141aa275529dbbfb84 /include/net/udplite.h
parent34bcca28335977e969338c98c6c43a1e08f592b2 (diff)
downloadblackbird-op-linux-8e5200f54062b8af0ed1d186ea0f113854786d89.tar.gz
blackbird-op-linux-8e5200f54062b8af0ed1d186ea0f113854786d89.zip
[NET]: Fix assorted misannotations (from md5 and udplite merges).
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
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 3abaab7b78c6..67ac51424307 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;
}
OpenPOWER on IntegriCloud