summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2024-02-12 22:33:41 -0500
committerDave Wallace <dwallacelf@gmail.com>2024-02-13 17:19:20 +0000
commite81f27ffb2a698737eae607b111d0611d221222f (patch)
tree6733206814f3b60596e0a3b45d58f67136e54f6b
parent775002358fae5767170733f1d781c49a991a482a (diff)
vcl: fix epollet test for unhandled evts
Argument to vcl_epoll_ctl_add_unhandled_event is often the result of an and between events and EPOLLET which is larger than u8 Type: fix Change-Id: I8c98f557fa1db9f3eb79c90ecdd60ac9366d4d40 Signed-off-by: Florin Coras <fcoras@cisco.com>
-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 d9c3b30afea..5174fe844e3 100644
--- a/src/vcl/vppcom.c
+++ b/src/vcl/vppcom.c
@@ -2830,7 +2830,7 @@ vppcom_epoll_create (void)
static void
vcl_epoll_ctl_add_unhandled_event (vcl_worker_t *wrk, vcl_session_t *s,
- u8 is_epollet, session_evt_type_t evt)
+ u32 is_epollet, session_evt_type_t evt)
{
if (!is_epollet)
{