projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2ff4fc
)
kvm: Fix irqfd resampler list walk
author
Alex Williamson
<alex.williamson@redhat.com>
Thu, 6 Dec 2012 21:44:59 +0000
(14:44 -0700)
committer
Marcelo Tosatti
<mtosatti@redhat.com>
Mon, 10 Dec 2012 20:16:36 +0000
(18:16 -0200)
Typo for the next pointer means we're walking random data here.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
virt/kvm/eventfd.c
patch
|
blob
|
history
diff --git
a/virt/kvm/eventfd.c
b/virt/kvm/eventfd.c
index d7424c8c138ae47248b2ca4567d4a56a1fee4140..b6eea5cc7b34d1074af9f26b724fed0eb5571725 100644
(file)
--- a/
virt/kvm/eventfd.c
+++ b/
virt/kvm/eventfd.c
@@
-333,7
+333,7
@@
kvm_irqfd_assign(struct kvm *kvm, struct kvm_irqfd *args)
mutex_lock(&kvm->irqfds.resampler_lock);
list_for_each_entry(resampler,
- &kvm->irqfds.resampler_list, li
st
) {
+ &kvm->irqfds.resampler_list, li
nk
) {
if (resampler->notifier.gsi == irqfd->gsi) {
irqfd->resampler = resampler;
break;