]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IPV6]: Dumb typo in generic csum_ipv6_magic()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 21 Dec 2006 21:15:18 +0000 (13:15 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Dec 2006 19:12:07 +0000 (11:12 -0800)
... duh

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_checksum.h

index 68e2b32cf1d6f1ed421a579c1cd19e707b3df80d..bc1b0fda2b0452d7cadd32a30f6df0e2a697d99e 100644 (file)
@@ -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