Skip to content

Commit

Permalink
Merge pull request #329 from ggvl/master
Browse files Browse the repository at this point in the history
Check info->moved before updating
  • Loading branch information
nhorman authored Sep 4, 2024
2 parents 6739dc0 + 25fa380 commit dd5a75a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions irqlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,11 @@ void migrate_irq_obj(struct topo_obj *from, struct topo_obj *to, struct irq_info
to_list = to ? &to->interrupts : &rebalance_irq_list;

migrate_irq(from_list, to_list, info);
/*
* only update list after info found
*/
if (!info->moved)
return;

if (from) {
if (from->slots_left != INT_MAX)
Expand Down

0 comments on commit dd5a75a

Please sign in to comment.