aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2022-06-28 16:01:35 -0700
committerDave Wallace <dwallacelf@gmail.com>2022-06-29 00:36:02 +0000
commitb65e76e108f9a530a343aa62c97131a7ea28e793 (patch)
tree3884dbbedbfac4268b39b0075eed0181795e14ef /src
parent40d811fee896a5fd113f2bc7c739e397e72d0daa (diff)
session: fix connected udp accepts
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I0963bae4b56b08c0a9ab4ee1f2738013217e1fb7 (cherry picked from commit fc20c8e50f2784ad62b97bdb0094605d2b86f596)
Diffstat (limited to 'src')
-rw-r--r--src/vnet/session/session.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c
index f15248e0bfe..852f87da677 100644
--- a/src/vnet/session/session.c
+++ b/src/vnet/session/session.c
@@ -1312,6 +1312,7 @@ session_dgram_accept (transport_connection_t * tc, u32 listener_index,
}
session_lookup_add_connection (tc, session_handle (s));
+ s->session_state = SESSION_STATE_ACCEPTING;
app_wrk = app_worker_get (s->app_wrk_index);
if ((rv = app_worker_accept_notify (app_wrk, s)))