git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
9ccf7e8
)
vhost: fix error code check when creating pthread
author
Olivier Matz
<olivier.matz@6wind.com>
Wed, 29 Nov 2017 09:55:00 +0000
(10:55 +0100)
committer
Olivier Matz
<olivier.matz@6wind.com>
Fri, 8 Dec 2017 09:47:55 +0000
(10:47 +0100)
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: stable@dpdk.org
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
No differences found