aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYacan Liu <liuyacan@corp.netease.com>2022-09-26 16:41:32 +0800
committerDave Wallace <dwallacelf@gmail.com>2022-09-27 03:46:08 +0000
commitab15770ec63367498dd277c83a577a52594953e8 (patch)
tree7723d52417c9a6873e5b273ed76bddecdd15a721
parent670724c51eccea6c622f047c546d15c894531ce3 (diff)
vcl: repatch "align the RST behaviour with kernel"
The previous patch[37164] was a bit flawed. Type: fix Signed-off-by: Yacan Liu <liuyacan@corp.netease.com> Change-Id: Ia9d8b9c7853e8f4b960ce7de26d0384243deb667
-rw-r--r--src/vcl/vppcom.c2
1 files changed, 1 insertions, 1 deletions
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))
{