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

Jens Freimann jfreimann at redhat.com
Thu Apr 11 16:30:25 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: Jens Freimann <jfreimann at redhat.com>




More information about the dev mailing list