From 899baecb91a14229eb16a8fed0b695d49404c148 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Tue, 29 Oct 2024 01:21:08 -0700 Subject: [PATCH] session: improve migration rx ntf Type: refactor Signed-off-by: Florin Coras Change-Id: I0dd002f923908c4b9244c2c47fc85fa8855d54e1 --- src/vnet/session/session_input.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/vnet/session/session_input.c b/src/vnet/session/session_input.c index ab9e5369db9..01be281d4f7 100644 --- a/src/vnet/session/session_input.c +++ b/src/vnet/session/session_input.c @@ -217,9 +217,7 @@ app_worker_flush_events_inline (app_worker_t *app_wrk, u32 thread_index, s->connection_index, s->thread_index); session_free (s); /* Notify app that it has data on the new session */ - s = session_get_from_handle (evt->as_u64[1]); - session_send_io_evt_to_thread (s->rx_fifo, - SESSION_IO_EVT_BUILTIN_RX); + session_program_rx_io_evt (evt->as_u64[1]); break; case SESSION_CTRL_EVT_TRANSPORT_CLOSED: s = session_get (evt->session_index, thread_index);