aboutsummaryrefslogtreecommitdiff
path: root/include/net/ip6_checksum.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-12-21 13:15:18 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-22 11:12:07 -0800
commitb23e3536667373e44f52a907f63cb55f75969490 (patch)
tree97710f966f31be6406ab389dbbd08d69dd7c0786 /include/net/ip6_checksum.h
parent24123186fa271e7ad34a40f815782e6205f34ff7 (diff)
[IPV6]: Dumb typo in generic csum_ipv6_magic()
... duh Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_checksum.h')
-rw-r--r--include/net/ip6_checksum.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip6_checksum.h b/include/net/ip6_checksum.h
index 68e2b32cf1d..bc1b0fda2b0 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