aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2024-10-29 01:21:08 -0700
committerDave Wallace <dwallacelf@gmail.com>2024-10-29 21:51:25 +0000
commit899baecb91a14229eb16a8fed0b695d49404c148 (patch)
tree719b0510406225f7ff6b5531602aac54c28b08a3 /src
parent845332be993f60041680058dd5ef6be96a222aac (diff)
session: improve migration rx ntf
Type: refactor Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I0dd002f923908c4b9244c2c47fc85fa8855d54e1
Diffstat (limited to 'src')
-rw-r--r--src/vnet/session/session_input.c4
1 files changed, 1 insertions, 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);