diff options
author | Florin Coras <fcoras@cisco.com> | 2020-05-14 05:32:18 +0000 |
---|---|---|
committer | Florin Coras <fcoras@cisco.com> | 2020-05-15 16:14:12 +0000 |
commit | c8e812f6fb88dcd537e4de9333b5acf32e6f1ca0 (patch) | |
tree | 29af036ec3954aad763dd1e5b407f4496e8f7e6d /src/vnet/session/application.h | |
parent | 18a86c6e6069cbc9a0d2294ebb7f7cca5f616f84 (diff) |
session: track detached listener segment managers
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Iae734a526d2e7befd9738054d028df0062b67000
Diffstat (limited to 'src/vnet/session/application.h')
-rw-r--r-- | src/vnet/session/application.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vnet/session/application.h b/src/vnet/session/application.h index 377ea1ef4ac..b6f957ab871 100644 --- a/src/vnet/session/application.h +++ b/src/vnet/session/application.h @@ -66,6 +66,12 @@ typedef struct app_worker_ /** Per transport proto hash tables of half-open connection handles */ uword **half_open_table; + + /** Protects detached seg managers */ + clib_spinlock_t detached_seg_managers_lock; + + /** Vector of detached listener segment managers */ + u32 *detached_seg_managers; } app_worker_t; typedef struct app_worker_map_ @@ -292,6 +298,7 @@ int app_worker_lock_and_send_event (app_worker_t * app, session_t * s, u8 evt_type); session_t *app_worker_proxy_listener (app_worker_t * app, u8 fib_proto, u8 transport_proto); +void app_worker_del_detached_sm (app_worker_t * app_wrk, u32 sm_index); u8 *format_app_worker (u8 * s, va_list * args); u8 *format_app_worker_listener (u8 * s, va_list * args); u8 *format_crypto_engine (u8 * s, va_list * args); |