aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Ping <ping.yu@intel.com>2020-02-14 19:14:36 +0800
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-08-12 15:59:46 +0000
commit84918d25541ee1173beda281554544cd168b7e65 (patch)
treee3f6f9a9a515f31d76e19beeb92e04b72f787431
parente0208837b53362b343b44275d281ba5cb76a79b6 (diff)
tls: remove session lookup operation in TLS
Type: fix Change-Id: I50329bda365d98f9f9d56a58187fb4fb2a4eb461 Signed-off-by: Yu Ping <ping.yu@intel.com> (cherry picked from commit 985d9293a08dc3da016fbeeaa3f8fff10e1b504e)
-rw-r--r--src/vnet/tls/tls.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vnet/tls/tls.c b/src/vnet/tls/tls.c
index b42f331691e..a52973d4b4c 100644
--- a/src/vnet/tls/tls.c
+++ b/src/vnet/tls/tls.c
@@ -254,8 +254,6 @@ tls_notify_app_connected (tls_ctx_t * ctx, u8 is_failed)
ctx->app_session_handle = session_handle (app_session);
app_session->session_state = SESSION_STATE_READY;
- session_lookup_add_connection (&ctx->connection,
- session_handle (app_session));
return 0;