aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/session/session.c2
1 files changed, 1 insertions, 1 deletions
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),