aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2023-10-10 10:21:01 -0700
committerDave Barach <vpp@barachs.net>2023-10-11 19:23:26 +0000
commitfa9f37c15ceb32c4b4d6fd0d352cfd5a38a6ab94 (patch)
treed668c93a0ed5a0b67112a391b28df8edda2e427e /src/vnet/session
parent21bc900c3498599a2ff1bd83a8482cf0682914d6 (diff)
session: fix tx deq ntf assert for cl
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I97a04ed0417f1a3433665f6aa1a9424138fd54cb
Diffstat (limited to 'src/vnet/session')
-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 23c58ef2d89..67652b5eb19 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),