diff options
author | Yacan Liu <liuyacan@corp.netease.com> | 2022-09-26 16:41:32 +0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2022-09-27 06:09:28 +0000 |
commit | 569763f948a5c7cf9217cdd642a48137c46f2750 (patch) | |
tree | 743b2a4efaac7fa37a0a11db9a94c28316404e62 | |
parent | f845abb5dd642769a6dd29c1bdc15a37d9c7c5a3 (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
(cherry picked from commit ab15770ec63367498dd277c83a577a52594953e8)
-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 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)) { |