Re: [PATCH 1/1] KVM: correct null pid check in kvm_vcpu_yield_to()

2014-09-19 Thread Paolo Bonzini
Il 19/09/2014 01:40, Sam Bobroff ha scritto: > 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 > --- > > virt/kvm/kvm_main.c | 2 +- > 1 file changed,

[PATCH 1/1] KVM: correct null pid check in kvm_vcpu_yield_to()

2014-09-18 Thread Sam Bobroff
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 --- virt/kvm/kvm_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virt/kvm/kvm_main.