diff options
author | Sam Bobroff <sam.bobroff@au1.ibm.com> | 2014-09-19 09:40:41 +1000 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2014-10-08 11:11:28 +0200 |
commit | b8a669d29702a8fb529f4fae450a86b8676b0e42 (patch) | |
tree | 588f1b850a7e13d0e2f3461d66909db55c7531fb /arch/x86/include/asm/bootparam_utils.h | |
parent | 331a9a729183832840d656036c5bc2b81942c294 (diff) |
KVM: correct null pid check in kvm_vcpu_yield_to()
Correct a simple mistake of checking the wrong variable
before a dereference, resulting in the dereference not being
properly protected by rcu_dereference().
Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 27fbe64bfa63cfb9da025975b59d96568caa2d53)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/x86/include/asm/bootparam_utils.h')
0 files changed, 0 insertions, 0 deletions