aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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);