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

Tiwei Bie tiwei.bie at intel.com
Mon Apr 15 08:32:30 CEST 2019


On Thu, Apr 11, 2019 at 01:23:06PM +0300, 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(-)

Reviewed-by: Tiwei Bie <tiwei.bie at intel.com>


More information about the stable mailing list