aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorRoger Pau Monne <[email protected]>2018-02-28 09:19:03 +0000
committerJuergen Gross <[email protected]>2018-02-28 20:20:01 +0100
commit910f8befdf5bccf25287d9f1743e3e546bcb7ce0 (patch)
treee7f207a9fdf7cce623ebc91248174a743ec2d427 /scripts/gdb/linux/lists.py
parent68d2059be660944152ba667e43c3b4ec225974bc (diff)
xen/pirq: fix error path cleanup when binding MSIs
Current cleanup in the error path of xen_bind_pirq_msi_to_irq is wrong. First of all there's an off-by-one in the cleanup loop, which can lead to unbinding wrong IRQs. Secondly IRQs not bound won't be freed, thus leaking IRQ numbers. Note that there's no need to differentiate between bound and unbound IRQs when freeing them, __unbind_from_irq will deal with both of them correctly. Fixes: 4892c9b4ada9f9 ("xen: add support for MSI message groups") Reported-by: Hooman Mirhadi <[email protected]> Signed-off-by: Roger Pau MonnĂ© <[email protected]> Reviewed-by: Amit Shah <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions