From 054aa8c2f2681e3a4a4af02d9119fb6eaa5dbad6 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Thu, 12 Oct 2023 12:39:15 -0700 Subject: session: fix duplicate rx events Be less aggressive with rx events on connect/accept notification. Type: fix Signed-off-by: Florin Coras Change-Id: Ie93a08c7eef69383bf0301a163fd2131dd51372a --- src/vnet/session/session_input.c | 10 ---------- 1 file changed, 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); -- cgit 1.2.3-korg