x86, intel_cacheinfo: fix use-after-free cache_kobject
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 15 Jul 2008 08:09:03 +0000 (17:09 +0900)
committerIngo Molnar <mingo@elte.hu>
Fri, 18 Jul 2008 15:49:33 +0000 (17:49 +0200)
commit8b2b9c1af065a45ef00c26964420489a53581779
tree214f389c25ddb34604619becd292ed355a33d109
parent2b7207a6b53bd07be53b4753a3ea5ecb8d180048
x86, intel_cacheinfo: fix use-after-free cache_kobject

This avoids calling kobject_uevent() with cache_kobject that has
already been deallocated in an error path.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/intel_cacheinfo.c