session: fix tx deq ntf assert for cl
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I97a04ed0417f1a3433665f6aa1a9424138fd54cb
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c
index 23c58ef..67652b5 100644
--- a/src/vnet/session/session.c
+++ b/src/vnet/session/session.c
@@ -596,7 +596,7 @@
/* 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),