commit | 27fbe64bfa63cfb9da025975b59d96568caa2d53 | [log] [tgz] |
---|---|---|
author | Sam Bobroff <sam.bobroff@au1.ibm.com> | Fri Sep 19 09:40:41 2014 +1000 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Sep 22 13:21:29 2014 +0200 |
tree | a7cc2aac710c41561e5eed5dd296eda2a777820b | |
parent | 85c8555ff07ef09261bd50d603cd4290cff5a8cc [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>