From 8cbf84dce02102ae1e9e6c2545fdea6c5673bc22 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Mon, 12 Feb 2024 22:33:41 -0500 Subject: 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 (cherry picked from commit e81f27ffb2a698737eae607b111d0611d221222f) --- src/vcl/vppcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit 1.2.3-korg