qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] vhost-vsock: fix double close() in the realize() error path


From: Stefan Hajnoczi
Subject: Re: [PATCH] vhost-vsock: fix double close() in the realize() error path
Date: Tue, 31 Mar 2020 15:45:07 +0100

On Tue, Mar 31, 2020 at 09:59:10AM +0200, Stefano Garzarella wrote:
> vhost_dev_cleanup() closes the vhostfd parameter passed to
> vhost_dev_init(), so this patch avoids closing it twice in
> the vhost_vsock_device_realize() error path.
> 
> Signed-off-by: Stefano Garzarella <address@hidden>
> ---
>  hw/virtio/vhost-vsock.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

Reviewed-by: Stefan Hajnoczi <address@hidden>

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]