From: Yacan Liu Date: Mon, 26 Sep 2022 08:41:32 +0000 (+0800) Subject: vcl: repatch "align the RST behaviour with kernel" X-Git-Tag: v23.06-rc0~240 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=ab15770ec63367498dd277c83a577a52594953e8;p=vpp.git 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 --- 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)) {