From 5a164283ad48eea57fe6bdf91e6dc6b308aeb9eb Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Tue, 10 Oct 2023 10:21:01 -0700 Subject: session: fix tx deq ntf assert for cl Type: fix Signed-off-by: Florin Coras Change-Id: I97a04ed0417f1a3433665f6aa1a9424138fd54cb (cherry picked from commit fa9f37c15ceb32c4b4d6fd0d352cfd5a38a6ab94) --- src/vnet/session/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c index 1f73eefd773..d04cc3500b2 100644 --- a/src/vnet/session/session.c +++ b/src/vnet/session/session.c @@ -596,7 +596,7 @@ session_program_io_event (app_worker_t *app_wrk, session_t *s, /* Special events for connectionless sessions */ et += SESSION_IO_EVT_BUILTIN_RX - SESSION_IO_EVT_RX; - ASSERT (s->thread_index == 0); + ASSERT (s->thread_index == 0 || et == SESSION_IO_EVT_TX_MAIN); session_event_t evt = { .event_type = et, .session_handle = session_handle (s), -- cgit 1.2.3-korg