From: Al Viro Date: Thu, 21 Dec 2006 21:15:18 +0000 (-0800) Subject: [IPV6]: Dumb typo in generic csum_ipv6_magic() X-Git-Tag: v2.6.20-rc2~8^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b23e3536667373e44f52a907f63cb55f75969490;p=linux-2.6 [IPV6]: Dumb typo in generic csum_ipv6_magic() ... duh Signed-off-by: Al Viro Signed-off-by: David S. Miller --- diff --git a/include/net/ip6_checksum.h b/include/net/ip6_checksum.h index 68e2b32cf1..bc1b0fda2b 100644 --- a/include/net/ip6_checksum.h +++ b/include/net/ip6_checksum.h @@ -87,7 +87,7 @@ static __inline__ __sum16 csum_ipv6_magic(const struct in6_addr *saddr, carry = (sum < uproto); sum += carry; - return csum_fold((__force __wsum)csum); + return csum_fold((__force __wsum)sum); } #endif