summaryrefslogtreecommitdiffstats
path: root/src/vcl/ldp.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-04-24 17:09:25 +0000
committerDave Barach <openvpp@barachs.net>2020-04-25 11:39:59 +0000
commit5e6222a0332e38316b5a58b23c35cca69bb72025 (patch)
tree672175c15152527f48341b9453926c665ef934d9 /src/vcl/ldp.c
parentf593b5792031b3797cdcdfd3fbb33ac4de8c9a5d (diff)
vcl: generate select events on read/write errors
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I3429f9d0406b6d710846fc82d77400f26f77fdf4
Diffstat (limited to 'src/vcl/ldp.c')
-rw-r--r--src/vcl/ldp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vcl/ldp.c b/src/vcl/ldp.c
index c23f995d567..e5baa0ead7e 100644
--- a/src/vcl/ldp.c
+++ b/src/vcl/ldp.c
@@ -776,6 +776,7 @@ ldp_pselect (int nfds, fd_set * __restrict readfds,
{
errno = -rv;
rv = -1;
+ goto done;
}
else if (rv > 0)
{