Skip to content
Commit e59464c7 authored by Changli Gao's avatar Changli Gao Committed by Linus Torvalds
Browse files

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: default avatarChangli Gao <xiaosuo@gmail.com>
Cc: Patrick McHardy <kaber@trash.net>
Acked-by: default avatarDavid Rientjes <rientjes@google.com>
Cc: <stable@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 46da2766
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment