diff options
author | Florin Coras <fcoras@cisco.com> | 2023-10-10 10:21:01 -0700 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2023-10-25 17:18:59 +0000 |
commit | 5a164283ad48eea57fe6bdf91e6dc6b308aeb9eb (patch) | |
tree | 132f1cdbed7fb1c6e9166b93c9d3ae864076a914 | |
parent | 74209bac286d10d39b9fa6f3e673ff89713e734f (diff) |
session: fix tx deq ntf assert for cl
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I97a04ed0417f1a3433665f6aa1a9424138fd54cb
(cherry picked from commit fa9f37c15ceb32c4b4d6fd0d352cfd5a38a6ab94)
-rw-r--r-- | src/vnet/session/session.c | 2 |
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), |