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: fix empty epoll returns (VPP-1453)
[vpp.git]
/
src
/
vcl
/
vcl_bapi.c
diff --git
a/src/vcl/vcl_bapi.c
b/src/vcl/vcl_bapi.c
index
d702d7c
..
7d02c4f
100644
(file)
--- a/
src/vcl/vcl_bapi.c
+++ b/
src/vcl/vcl_bapi.c
@@
-155,6
+155,9
@@
vl_api_app_worker_add_del_reply_t_handler (vl_api_app_worker_add_del_reply_t *
getpid (), mp->context, wrk_index);
goto failed;
}
+ if (!mp->is_add)
+ return;
+
wrk = vcl_worker_get (wrk_index);
wrk->app_event_queue = uword_to_pointer (mp->app_event_queue_address,
svm_msg_q_t *);