mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
58e690e6fd
A bogus 'return r' can cause an otherwise successful module load to fail. This both denies users the use of kvm, and it also denies them the use of their machine, as it leaves a filesystem registered with its callbacks pointing into now-freed module memory. Fix by returning a zero like a good module. Thanks to Richard Lucassen <mailinglists@lucassen.org> (?) for reporting the problem and for providing access to a machine which exhibited it. Signed-off-by: Avi Kivity <avi@qumranet.com> |
||
---|---|---|
.. | ||
Kconfig | ||
kvm_main.c | ||
kvm_svm.h | ||
kvm_vmx.h | ||
kvm.h | ||
Makefile | ||
mmu.c | ||
paging_tmpl.h | ||
segment_descriptor.h | ||
svm.c | ||
svm.h | ||
vmx.c | ||
vmx.h | ||
x86_emulate.c | ||
x86_emulate.h |