Skip to content

Commit 49f8a1a

Browse files
Alex Williamsonmatosatti
authored andcommitted
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>
1 parent d2ff4fc commit 49f8a1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎virt/kvm/eventfd.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ kvm_irqfd_assign(struct kvm *kvm, struct kvm_irqfd *args)
333333
mutex_lock(&kvm->irqfds.resampler_lock);
334334

335335
list_for_each_entry(resampler,
336-
&kvm->irqfds.resampler_list, list) {
336+
&kvm->irqfds.resampler_list, link) {
337337
if (resampler->notifier.gsi == irqfd->gsi) {
338338
irqfd->resampler = resampler;
339339
break;

0 commit comments

Comments
 (0)