diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-04-23 13:17:45 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-12 14:57:00 -0700 |
commit | 669805f0492eb6415a6c621fcd1ef6e29fee32b8 (patch) | |
tree | 35dd10d256802ffad4a8f31840f9e2c13fea5364 /lib/locking-selftest-wlock-hardirq.h | |
parent | fb85b86ad4989b8d3aa5cbb2aafc9568a22fd3ce (diff) | |
download | lwn-669805f0492eb6415a6c621fcd1ef6e29fee32b8.tar.gz lwn-669805f0492eb6415a6c621fcd1ef6e29fee32b8.zip |
flex_array: fix the panic when calling flex_array_alloc() without __GFP_ZERO
commit e59464c735db19619cde2aa331609adb02005f5b upstream.
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/locking-selftest-wlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions