2006-12-21 15:46:04

by Al Viro

[permalink] [raw]
Subject: [PATCH] dumb typo in generic csum_ipv6_magic()

... duh

Signed-off-by: Al Viro <[email protected]>
---
diff --git a/include/net/ip6_checksum.h b/include/net/ip6_checksum.h
index 68e2b32..bc1b0fd 100644
--- a/include/net/ip6_checksum.h
+++ b/include/net/ip6_checksum.h
@@ -87,7 +87,7 @@ static __inline__ __sum16 csum_ipv6_magi
carry = (sum < uproto);
sum += carry;

- return csum_fold((__force __wsum)csum);
+ return csum_fold((__force __wsum)sum);
}

#endif