Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vcl: register workers in order
[vpp.git]
/
src
/
vcl
/
vcl_test_server.c
diff --git
a/src/vcl/vcl_test_server.c
b/src/vcl/vcl_test_server.c
index
8d97d0c
..
2fdd7ec
100644
(file)
--- a/
src/vcl/vcl_test_server.c
+++ b/
src/vcl/vcl_test_server.c
@@
-467,7
+467,8
@@
vts_worker_init (vcl_test_server_worker_t * wrk)
conn_pool_expand (wrk, SOCK_SERVER_MAX_TEST_CONN + 1);
if (wrk->wrk_index)
conn_pool_expand (wrk, SOCK_SERVER_MAX_TEST_CONN + 1);
if (wrk->wrk_index)
- vppcom_worker_register ();
+ if (vppcom_worker_register ())
+ vtfail ("vppcom_worker_register()", 1);
wrk->listen_fd = vppcom_session_create (ssm->cfg.proto,
0 /* is_nonblocking */ );
wrk->listen_fd = vppcom_session_create (ssm->cfg.proto,
0 /* is_nonblocking */ );