[dpdk-dev] [PATCH] vhost: fix device leak on connection add failure

Maxime Coquelin maxime.coquelin at redhat.com
Wed Apr 17 09:55:24 CEST 2019



On 4/11/19 12:23 PM, Ilya Maximets wrote:
> Need to destroy allocated device if application fails to
> add new connection or we have fdset failure.
> 
> Fixes: acbff5c67ea7 ("vhost: fix crash when exceeding file descriptors")
> Fixes: efba12a78ddf ("vhost: add user callbacks for socket open/close")
> Cc:stable at dpdk.org
> 
> Reported-by: David Marchand<david.marchand at redhat.com>
> Signed-off-by: Ilya Maximets<i.maximets at samsung.com>
> ---
>   lib/librte_vhost/socket.c | 6 ++++--
>   1 file changed, 4 insertions(+), 2 deletions(-)


Applied to dpdk-next-virtio/master.

Thanks,
Maxime


More information about the dev mailing list