All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dumb typo in generic csum_ipv6_magic()
@ 2006-12-21 15:46 Al Viro
  0 siblings, 0 replies; only message in thread
From: Al Viro @ 2006-12-21 15:46 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: davem, linux-kernel

... duh

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-21 15:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-21 15:46 [PATCH] dumb typo in generic csum_ipv6_magic() Al Viro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.