session: improve migration rx ntf 69/41769/4
authorFlorin Coras <[email protected]>
Tue, 29 Oct 2024 08:21:08 +0000 (01:21 -0700)
committerDave Wallace <[email protected]>
Tue, 29 Oct 2024 21:51:25 +0000 (21:51 +0000)
Type: refactor

Signed-off-by: Florin Coras <[email protected]>
Change-Id: I0dd002f923908c4b9244c2c47fc85fa8855d54e1

src/vnet/session/session_input.c

index ab9e536..01be281 100644 (file)
@@ -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);