diff options
author | Florin Coras <fcoras@cisco.com> | 2021-05-06 15:32:14 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-05-07 10:46:20 +0000 |
commit | 94a6df005d9e94f3b836ad3c93d1464b4a840499 (patch) | |
tree | c55259ac6ce0e373abf7633353c29ad74e305b26 /src/vnet/tls | |
parent | bd376a8ce8425f45b23074398949e8055de29280 (diff) |
session: connects seg manager is always first
By convention, connects segment manager will be first. Therefore it will
be the one with the first segment wherein lies the app's message queue.
Saves us the trouble of allocating it on first connect, if app started
by listening, and we no longer need to track if it's assignable to a
listener or if it can be removed.
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Iba9a8ffaab618eeb41ec2144dcfee62d006dc7a2
Diffstat (limited to 'src/vnet/tls')
-rw-r--r-- | src/vnet/tls/tls.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vnet/tls/tls.c b/src/vnet/tls/tls.c index 57dcc7fbb54..e19f8e6c040 100644 --- a/src/vnet/tls/tls.c +++ b/src/vnet/tls/tls.c @@ -711,7 +711,6 @@ tls_connect (transport_endpoint_cfg_t * tep) } tls_ctx_half_open_reader_unlock (); - app_worker_alloc_connects_segment_manager (app_wrk); ctx->tls_ctx_engine = engine_type; clib_memcpy_fast (&cargs->sep, sep, sizeof (session_endpoint_t)); @@ -1138,7 +1137,6 @@ dtls_connect (transport_endpoint_cfg_t *tep) vec_terminate_c_string (ctx->srv_hostname); } - app_worker_alloc_connects_segment_manager (app_wrk); ctx->tls_ctx_engine = engine_type; clib_memcpy_fast (&cargs->sep, sep, sizeof (session_endpoint_t)); |