From: Al Viro Date: Thu, 21 Dec 2006 21:15:18 +0000 (-0800) Subject: [IPV6]: Dumb typo in generic csum_ipv6_magic() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b23e3536667373e44f52a907f63cb55f75969490;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [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 68e2b32cf1d6..bc1b0fda2b04 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