diff options
author | Florin Coras <fcoras@cisco.com> | 2024-10-03 01:19:24 -0700 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-10-03 08:02:59 +0000 |
commit | fae41c678320f4e63896d52e942cea59a44d9168 (patch) | |
tree | 0fe42b9f5d21aff866f6a87c8aa76b0e38a21f7f /src | |
parent | 7bae9b0e824d17de3769b2de299ad2d2c88e2620 (diff) |
session: allow session input rpcs
Type: improvement
Change-Id: Ib8e9f9fb6dfc553cc9e344544961832fecbea8c1
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/session/session_input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/session/session_input.c b/src/vnet/session/session_input.c index 73b777127fd..ab9e5369db9 100644 --- a/src/vnet/session/session_input.c +++ b/src/vnet/session/session_input.c @@ -257,6 +257,9 @@ app_worker_flush_events_inline (app_worker_t *app_wrk, u32 thread_index, app->cb_fns.del_segment_callback (app_wrk->wrk_index, evt->as_u64[1]); break; + case SESSION_CTRL_EVT_RPC: + ((void (*) (session_t * s)) (evt->rpc_args.fp)) (evt->rpc_args.arg); + break; default: clib_warning ("unexpected event: %u", evt->event_type); ASSERT (0); |