summaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2023-10-12 12:39:15 -0700
committerDave Barach <vpp@barachs.net>2023-10-12 23:21:31 +0000
commit054aa8c2f2681e3a4a4af02d9119fb6eaa5dbad6 (patch)
tree39eaf4f00a3702e4f6a40d084990ed70dad9c488 /src/vnet/session
parent120095d3d33bfac64c1f3c870f8a332eeaf638f0 (diff)
session: fix duplicate rx events
Be less aggressive with rx events on connect/accept notification. Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ie93a08c7eef69383bf0301a163fd2131dd51372a
Diffstat (limited to 'src/vnet/session')
-rw-r--r--src/vnet/session/session_input.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/vnet/session/session_input.c b/src/vnet/session/session_input.c
index efc4f542007..42d71819b0a 100644
--- a/src/vnet/session/session_input.c
+++ b/src/vnet/session/session_input.c
@@ -158,11 +158,6 @@ app_worker_flush_events_inline (app_worker_t *app_wrk, u32 thread_index,
}
if (is_builtin)
{
- if (s->flags & SESSION_F_RX_EVT)
- {
- s->flags &= ~SESSION_F_RX_EVT;
- app->cb_fns.builtin_app_rx_callback (s);
- }
if (old_state >= SESSION_STATE_TRANSPORT_CLOSING)
{
session_set_state (s, old_state);
@@ -189,11 +184,6 @@ app_worker_flush_events_inline (app_worker_t *app_wrk, u32 thread_index,
s->app_wrk_index = SESSION_INVALID_INDEX;
break;
}
- if (s->flags & SESSION_F_RX_EVT)
- {
- s->flags &= ~SESSION_F_RX_EVT;
- app->cb_fns.builtin_app_rx_callback (s);
- }
if (old_state >= SESSION_STATE_TRANSPORT_CLOSING)
{
session_set_state (s, old_state);