> When calling this bus cleanup, interrupt handle was not released.
> 
> Fixes: 65780eada9d9 ("bus/vmbus: support cleanup")
> Cc: [email protected]
> 
> Signed-off-by: David Marchand <[email protected]>

Reviewed-by: Long Li <[email protected]>

> ---
>  drivers/bus/vmbus/vmbus_common.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/bus/vmbus/vmbus_common.c
> b/drivers/bus/vmbus/vmbus_common.c
> index 01573927ce..74c1ddff69 100644
> --- a/drivers/bus/vmbus/vmbus_common.c
> +++ b/drivers/bus/vmbus/vmbus_common.c
> @@ -150,6 +150,7 @@ rte_vmbus_cleanup(void)
>                       error = -1;
> 
>               rte_vmbus_unmap_device(dev);
> +             rte_intr_instance_free(dev->intr_handle);
> 
>               dev->device.driver = NULL;
>               rte_bus_remove_device(&rte_vmbus_bus, &dev->device);
> --
> 2.53.0

Reply via email to