Re: [2.6.24-mm1] TCP/IPv6 connect() oopses at twothirdsMD4Transform()

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: Tetsuo Handa <penguin-kernel@...>, <netdev@...>, <linux-kernel@...>, Theodore Ts'o <tytso@...>
Date: Monday, February 4, 2008 - 10:30 pm

On Mon, 2008-02-04 at 17:36 -0800, Andrew Morton wrote:


random: revert braindamage that snuck into checkpatch cleanup

Signed-off-by: Matt Mackall <mpm@selenic.com>

diff -r 50a6e531a9f2 drivers/char/random.c
--- a/drivers/char/random.c	Mon Feb 04 20:23:02 2008 -0600
+++ b/drivers/char/random.c	Mon Feb 04 20:28:08 2008 -0600
@@ -1306,7 +1306,7 @@
  * Rotation is separate from addition to prevent recomputation
  */
 #define ROUND(f, a, b, c, d, x, s)	\
-	(a += f(b, c, d) + in[x], a = (a << s) | (a >> (32 - s)))
+	(a += f(b, c, d) + x, a = (a << s) | (a >> (32 - s)))
 #define K1 0
 #define K2 013240474631UL
 #define K3 015666365641UL

-- 
Mathematics is the supreme nostalgia of our time.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [2.6.24-mm1] TCP/IPv6 connect() oopses at twothirdsMD4Tr..., Matt Mackall, (Mon Feb 4, 10:30 pm)