From: Florin Coras Date: Wed, 13 Dec 2023 22:26:19 +0000 (-0800) Subject: tls: no closed notify if no app session X-Git-Tag: v24.06-rc0~80 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=86b02c728c50d74f9562715c7099e33b977fda5d;p=vpp.git tls: no closed notify if no app session Type: fix Signed-off-by: Florin Coras Change-Id: I0e58bb970d371818217390d451cf26925b04970f --- diff --git a/src/vnet/tls/tls.c b/src/vnet/tls/tls.c index 1364a4fbbe7..6882f806231 100644 --- a/src/vnet/tls/tls.c +++ b/src/vnet/tls/tls.c @@ -749,7 +749,8 @@ tls_session_transport_closed_callback (session_t *ts) tls_ctx_t *ctx; ctx = tls_ctx_get_w_thread (ts->opaque, ts->thread_index); - session_transport_closed_notify (&ctx->connection); + if (!ctx->no_app_session) + session_transport_closed_notify (&ctx->connection); } static session_cb_vft_t tls_app_cb_vft = {