Skip to contentSkip to conversation

dumb typo in generic csum_ipv6_magic()

PATCH New Al Viro 1 participant 1 message Dec 21, 2006

Subsystems (2)
lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 dumb typo in generic csum_ipv6_magic()

... duh

---

include/net/ip6_checksum.h +1 -1
index 68e2b32..bc1b0fd 100644
@@ -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