From ab15770ec63367498dd277c83a577a52594953e8 Mon Sep 17 00:00:00 2001 From: Yacan Liu Date: Mon, 26 Sep 2022 16:41:32 +0800 Subject: vcl: repatch "align the RST behaviour with kernel" The previous patch[37164] was a bit flawed. Type: fix Signed-off-by: Yacan Liu Change-Id: Ia9d8b9c7853e8f4b960ce7de26d0384243deb667 --- 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 9644973ce72..d217058370e 100644 --- a/src/vcl/vppcom.c +++ b/src/vcl/vppcom.c @@ -3125,7 +3125,7 @@ vcl_epoll_wait_handle_mq_event (vcl_worker_t * wrk, session_event_t * e, if ((EPOLLRDHUP & session_events) && (s->flags & VCL_SESSION_F_RD_SHUTDOWN)) { - events[*num_ev].events = EPOLLRDHUP; + events[*num_ev].events |= EPOLLRDHUP; } if ((EPOLLIN & session_events) && (s->flags & VCL_SESSION_F_RD_SHUTDOWN)) { -- cgit 1.2.3-korg