summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2022-06-28 16:01:35 -0700
committerFlorin Coras <florin.coras@gmail.com>2022-06-28 22:52:51 +0000
commitfc20c8e50f2784ad62b97bdb0094605d2b86f596 (patch)
tree706081e06d5180f68c4f8984f8144e985f8ba7e3 /src
parentcf5c774b594d4b403e817886c8d41efd927f06b4 (diff)
session: fix connected udp accepts
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I0963bae4b56b08c0a9ab4ee1f2738013217e1fb7
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)))