From b23e3536667373e44f52a907f63cb55f75969490 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Thu, 21 Dec 2006 13:15:18 -0800 Subject: [PATCH] [IPV6]: Dumb typo in generic csum_ipv6_magic() ... duh Signed-off-by: Al Viro Signed-off-by: David S. Miller --- include/net/ip6_checksum.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5