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: sta...@dpdk.org > > Reported-by: David Marchand <david.march...@redhat.com> > Signed-off-by: Ilya Maximets <i.maxim...@samsung.com> > --- > lib/librte_vhost/socket.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-)
Reviewed-by: Tiwei Bie <tiwei....@intel.com>