summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Ping <ping.yu@intel.com>2020-02-14 19:14:36 +0800
committerFlorin Coras <florin.coras@gmail.com>2020-02-14 22:01:40 +0000
commit985d9293a08dc3da016fbeeaa3f8fff10e1b504e (patch)
treef24d61a7e49f86f1389cf3f68b23611d0dcdfa4c
parent3f78bbb8e875f3fccbcd167289ba2d307cb86263 (diff)
tls: remove session lookup operation in TLS
Type: fix Change-Id: I50329bda365d98f9f9d56a58187fb4fb2a4eb461 Signed-off-by: Yu Ping <ping.yu@intel.com>
-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 8359cca5c00..c2616fdde23 100644
--- a/src/vnet/tls/tls.c
+++ b/src/vnet/tls/tls.c
@@ -252,8 +252,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;