From 3c06859f9f4ed3887592c523b8940d950939b9d7 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Fri, 6 Oct 2023 16:45:04 -0700 Subject: session: handle accept and connect errors If builtin apps refuse connections, they should be cleaned up. Type: fix Signed-off-by: Florin Coras Change-Id: I95ef22902ac3fe873e15e250aa5f03031c2dc0c4 (cherry picked from commit 9ffec14a2202e1268c4a2f189c39a90986090a25) --- src/vnet/session/session_node.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vnet/session/session_node.c') diff --git a/src/vnet/session/session_node.c b/src/vnet/session/session_node.c index 4f2cae4d196..d27b804550a 100644 --- a/src/vnet/session/session_node.c +++ b/src/vnet/session/session_node.c @@ -456,6 +456,7 @@ session_mq_accepted_reply_handler (session_worker_t *wrk, a->app_index = mp->context; a->handle = mp->handle; vnet_disconnect_session (a); + s->app_wrk_index = SESSION_INVALID_INDEX; return; } -- cgit 1.2.3-korg