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>
(cherry picked from commit e81f27ffb2
)
This commit is contained in:

committed by
Florin Coras

parent
3a56e86a73
commit
8cbf84dce0
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user