Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

kvm: Fix irqfd resampler list walk

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>
  • Loading branch information...
commit 49f8a1a5394d8baee5e56fb71e5cf993c228689a 1 parent d2ff4fc
Alex Williamson awilliam authored Marcelo Tosatti committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  virt/kvm/eventfd.c
2  virt/kvm/eventfd.c
View
@@ -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, list) {
+ &kvm->irqfds.resampler_list, link) {
if (resampler->notifier.gsi == irqfd->gsi) {
irqfd->resampler = resampler;
break;
Please sign in to comment.
Something went wrong with that request. Please try again.