On 12/08/2017 11:19 AM, Olivier Matz wrote:
On error, pthread_create() returns a positive number (errno).
Fix the test on the return value.
Fixes: af1475918124 ("vhost: introduce API to start a specific driver")
Fixes: e623e0c6d8a5 ("vhost: add reconnect ability")
Cc: [email protected]
Signed-off-by: Olivier Matz <[email protected]>
---
lib/librte_vhost/socket.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
Reviewed-by: Maxime Coquelin <[email protected]> Thanks, Maxime

