Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment