Skip to content
Commit 27fbe64b authored by Sam Bobroff's avatar Sam Bobroff Committed by Paolo Bonzini
Browse files

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: default avatarSam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 85c8555f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment