aboutsummaryrefslogtreecommitdiffstats
path: root/src/vcl
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2023-03-01 00:49:25 -0800
committerDave Wallace <dwallacelf@gmail.com>2023-03-01 19:28:18 +0000
commit01ee7a7782199abe0306ab296acefeaa9211e8b3 (patch)
tree1ad9c8f1d89f98cadad34d7da8c0376f2fd45b5f /src/vcl
parent7a1e95a3178943c8a3d2fe7f812f4710b13f7f4d (diff)
vcl: accept bound notifications in epoll wait
Async binds may be possible due to vls generated async binds as a result of application adding or removing listeners from epoll. App does not need to be notified of the event. Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I4d01be7ddb39ba894db85feef55e9935556c24f5
Diffstat (limited to 'src/vcl')
-rw-r--r--src/vcl/vppcom.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c
index d51f69f8a41..189e16a852c 100644
--- a/src/vcl/vppcom.c
+++ b/src/vcl/vppcom.c
@@ -3143,6 +3143,9 @@ vcl_epoll_wait_handle_mq_event (vcl_worker_t * wrk, session_event_t * e,
session_evt_data = s->vep.ev.data.u64;
break;
+ case SESSION_CTRL_EVT_BOUND:
+ vcl_session_bound_handler (wrk, (session_bound_msg_t *) e->data);
+ break;
case SESSION_CTRL_EVT_RESET:
if (!e->postponed)
{