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: [email protected]

Reported-by: David Marchand <[email protected]>
Signed-off-by: Ilya Maximets <[email protected]>
---
lib/librte_vhost/socket.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)


Reviewed-by: Jens Freimann <[email protected]>


Reply via email to