diff options
author | Florin Coras <fcoras@cisco.com> | 2024-02-12 22:33:41 -0500 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-02-13 17:20:10 +0000 |
commit | 8cbf84dce02102ae1e9e6c2545fdea6c5673bc22 (patch) | |
tree | 907e0e3f158ab370ece7b60a1b1a91f2afc55aa5 | |
parent | 3a56e86a7379229a416f70e30ad7e8b700819dc7 (diff) |
vcl: fix epollet test for unhandled evtsv24.02-rc2
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>
(cherry picked from commit e81f27ffb2a698737eae607b111d0611d221222f)
-rw-r--r-- | src/vcl/vppcom.c | 2 |
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) { |