IOMMU: release lock on new exit path
PATCH 1/1 IOMMU: release lock on new exit path
This was overlooked in 7b2842a414 ("IOMMU: replace ASSERT()s checking for NULL").
xen/drivers/passthrough/io.c +1 -0
@@ -168,6 +168,7 @@ static void pt_irq_time_out(void *data)if (unlikely (!dpci) ) {ASSERT_UNREACHABLE (); +spin_unlock (&irq_map->dom->event_lock);return ; }list_for_each_entry ( digl, &irq_map->digl_list, list )
IOMMU: release lock on new exit path
This was overlooked in 7b2842a414 ("IOMMU: replace ASSERT()s checking for NULL").
xen/drivers/passthrough/io.c +1 -0
@@ -168,6 +168,7 @@ static void pt_irq_time_out(void *data)if (unlikely (!dpci) ) {ASSERT_UNREACHABLE (); +spin_unlock (&irq_map->dom->event_lock);return ; }list_for_each_entry ( digl, &irq_map->digl_list, list )
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 4 lines · Jan Beulich
This was overlooked in
7b2842a414("IOMMU: replace ASSERT()s checking for NULL").Reported-by Konrad Rzeszutek Wilk <[email protected]>
Thanks!
Quoted 8 lines
Signed-off-by Jan Beulich <[email protected]>
xen/drivers/passthrough/io.c static void pt_irq_time_out(void *data) · line 174
Quoted 7 lines
xen/drivers/passthrough/io.c +1
-0@@ -168,6 +168,7 @@ static void pt_irq_time_out(void *data)if (unlikely (!dpci) ) {ASSERT_UNREACHABLE (); +spin_unlock (&irq_map->dom->event_lock);return ; }list_for_each_entry ( digl, &irq_map->digl_list, list )
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Wei Liu
AppliedQuoted 8 lines · Konrad Rzeszutek Wilk
Quoted 4 lines · Jan Beulich
This was overlooked in
7b2842a414("IOMMU: replace ASSERT()s checking for NULL").Reported-by Konrad Rzeszutek Wilk <[email protected]>Reviewed-by Konrad Rzeszutek Wilk <[email protected]>
Applied.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel