commit | e59464c735db19619cde2aa331609adb02005f5b | [log] [tgz] |
---|---|---|
author | Changli Gao <xiaosuo@gmail.com> | Fri Apr 23 13:17:45 2010 -0400 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Apr 24 11:31:24 2010 -0700 |
tree | 00849f207341841a7f5190c270fa0f82dcbda587 | |
parent | 46da27664887fb95cedba53eafcf876de812c8c1 [diff] |
flex_array: fix the panic when calling flex_array_alloc() without __GFP_ZERO memset() is called with the wrong address and the kernel panics. Signed-off-by: Changli Gao <xiaosuo@gmail.com> Cc: Patrick McHardy <kaber@trash.net> Acked-by: David Rientjes <rientjes@google.com> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>