diff options
author | Florin Coras <fcoras@cisco.com> | 2023-05-17 22:59:40 -0700 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2023-05-19 19:31:30 +0000 |
commit | 4817855115f2dab37cad85fa8bf8ba51b3871235 (patch) | |
tree | 0566910d5a60710d83ed6225e481efadb1407379 /src/vcl/vppcom.c | |
parent | 786998575870a788fa8bdd4943e33feb9c4111c2 (diff) |
vcl: always reset deq ntf flag in epoll evt handler
Reset deq notification flag even if session is no longer epolled.
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I4e9aed1849aa2817176f3a54ae41910df5e704a0
Diffstat (limited to 'src/vcl/vppcom.c')
-rw-r--r-- | src/vcl/vppcom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c index 360b65df9d2..43f6b741d0c 100644 --- a/src/vcl/vppcom.c +++ b/src/vcl/vppcom.c @@ -3068,14 +3068,14 @@ vcl_epoll_wait_handle_mq_event (vcl_worker_t * wrk, session_event_t * e, s = vcl_session_get (wrk, sid); if (!s || !vcl_session_is_open (s)) break; + svm_fifo_reset_has_deq_ntf (vcl_session_is_ct (s) ? s->ct_tx_fifo : + s->tx_fifo); session_events = s->vep.ev.events; if (!(EPOLLOUT & session_events)) break; add_event = 1; events[*num_ev].events = EPOLLOUT; session_evt_data = s->vep.ev.data.u64; - svm_fifo_reset_has_deq_ntf (vcl_session_is_ct (s) ? - s->ct_tx_fifo : s->tx_fifo); break; case SESSION_CTRL_EVT_ACCEPTED: if (!e->postponed) |