aboutsummaryrefslogtreecommitdiffstats
path: root/src/vcl
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-01-22 07:32:12 -0800
committerDave Barach <openvpp@barachs.net>2020-01-23 19:22:30 +0000
commitddb90a063cb3fa797257d8a632cba8cf2a01a455 (patch)
tree0c34880b42abe2b033746ee17aaba41e69a8c02e /src/vcl
parent68b7e5888cbfc1fafd38971c725ce10268ad3841 (diff)
vcl: always report EPOLLHUP/EPOLLRDHUP on close
Type: fix Change-Id: I3d24a7973c7113ffeb9109e89cda7fa960e73a5b Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vcl')
-rw-r--r--src/vcl/vppcom.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c
index 15313fd286c..4b12062215e 100644
--- a/src/vcl/vppcom.c
+++ b/src/vcl/vppcom.c
@@ -2755,8 +2755,6 @@ vcl_epoll_wait_handle_mq_event (vcl_worker_t * wrk, session_event_t * e,
if (!session)
break;
session_events = session->vep.ev.events;
- if (!((EPOLLHUP | EPOLLRDHUP) & session_events))
- break;
add_event = 1;
events[*num_ev].events |= EPOLLHUP | EPOLLRDHUP;
session_evt_data = session->vep.ev.data.u64;
@@ -2766,8 +2764,6 @@ vcl_epoll_wait_handle_mq_event (vcl_worker_t * wrk, session_event_t * e,
if (!(session = vcl_session_get (wrk, sid)))
break;
session_events = session->vep.ev.events;
- if (!((EPOLLHUP | EPOLLRDHUP) & session_events))
- break;
add_event = 1;
events[*num_ev].events |= EPOLLHUP | EPOLLRDHUP;
session_evt_data = session->vep.ev.data.u64;