summaryrefslogtreecommitdiffstats
path: root/include/net/ip6_checksum.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-12-21 22:15:18 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-22 20:12:07 +0100
commitb23e3536667373e44f52a907f63cb55f75969490 (patch)
tree97710f966f31be6406ab389dbbd08d69dd7c0786 /include/net/ip6_checksum.h
parent[SCTP]: make 2 functions static (diff)
downloadlinux-b23e3536667373e44f52a907f63cb55f75969490.tar.xz
linux-b23e3536667373e44f52a907f63cb55f75969490.zip
[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 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