diff options
| author | 2007-02-12 00:54:42 -0800 | |
|---|---|---|
| committer | 2007-02-12 09:48:40 -0800 | |
| commit | 1e8ba6fba5050ec11bba90c8622aa2ed95ff711f (patch) | |
| tree | 4dfc7c1c8a6119648978f25c1065b344123638cb /include/linux | |
| parent | [PATCH] kvm: Fix mismatch between 32-bit and 64-bit abi (diff) | |
[PATCH] kvm: fix vcpu freeing bug
vcpu_load() can return NULL and it sometimes does in failure paths (for
example when the userspace ABI version is too old) - causing a preemption
count underflow in the ->vcpu_free() later on. So check for NULL.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
