aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2023-09-06 19:38:44 -0700
committerDave Barach <vpp@barachs.net>2023-09-07 16:46:50 +0000
commit48cd559fb5f8e5bbe045f6fa2ca231ab0b0e6a18 (patch)
treecb24e012cc76459e1479960b36b968164cef5638 /src/vnet/session
parenta4157aec1c7718226f0d4cee51c7a3feb57e6fc4 (diff)
session: make sure rx evt flag is cleared for builtin rx
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I99631b1be6e19f0cefd1cefa82a51e6f8e9be2ac
Diffstat (limited to 'src/vnet/session')
-rw-r--r--src/vnet/session/session_input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/session_input.c b/src/vnet/session/session_input.c
index 8c1f11ca96e..2c89c31a827 100644
--- a/src/vnet/session/session_input.c
+++ b/src/vnet/session/session_input.c
@@ -122,6 +122,7 @@ app_worker_flush_events_inline (app_worker_t *app_wrk, u32 thread_index,
s = session_get_from_handle_if_valid (evt->session_handle);
if (!s || s->session_state == SESSION_STATE_ACCEPTING)
break;
+ s->flags &= ~SESSION_F_RX_EVT;
app->cb_fns.builtin_app_rx_callback (s);
break;
case SESSION_IO_EVT_TX: