From 01ee7a7782199abe0306ab296acefeaa9211e8b3 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Wed, 1 Mar 2023 00:49:25 -0800 Subject: 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 Change-Id: I4d01be7ddb39ba894db85feef55e9935556c24f5 --- src/vcl/vppcom.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vcl') 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 @@ -3142,6 +3142,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) -- cgit 1.2.3-korg