From: Dan Carpenter Date: Tue, 15 May 2012 08:58:12 +0000 (+0300) Subject: dlm: NULL dereference on failure in kmem_cache_create() X-Git-Tag: v3.5-rc1~135^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75af271ed5f51b1f3506c7c1d567b1f32e5c9206;p=pandora-kernel.git dlm: NULL dereference on failure in kmem_cache_create() We aren't allowed to pass NULL pointers to kmem_cache_destroy() so if both allocations fail, it leads to a NULL dereference. Signed-off-by: Dan Carpenter Signed-off-by: David Teigland --- Reading git-diff-tree failed