summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2024-12-06 16:50:43 -0800
committerFlorin Coras <florin.coras@gmail.com>2024-12-07 00:26:41 +0000
commit0ec906694d9675f6e2319fb8d8422bc59349b418 (patch)
tree3e70810f1f4a3ff5d2003d31d85b267358e97dbc
parent72bd2e585d75b88911956d721753682dfa24001a (diff)
vcl: fix epoll wait assert
Type: fix Found by Lucas. Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I3e10d3a9f40ef28cb9bda58f199a04dfc3e41d27
-rw-r--r--src/vcl/vppcom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c
index d2973589f5f..d084c09e1da 100644
--- a/src/vcl/vppcom.c
+++ b/src/vcl/vppcom.c
@@ -3464,7 +3464,7 @@ vcl_epoll_wait_handle_mq (vcl_worker_t * wrk, svm_msg_q_t * mq,
return 0;
}
}
- ASSERT (maxevents > *num_ev);
+ ASSERT (maxevents >= *num_ev);
vcl_mq_dequeue_batch (wrk, mq, ~0);
handle_dequeued: