aboutsummaryrefslogtreecommitdiffstats
path: root/src/vcl/ldp.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-02-04 19:04:34 +0000
committerFlorin Coras <florin.coras@gmail.com>2020-02-04 19:12:36 +0000
commit541406241231c863deb59f794890e16e5ba6ea5a (patch)
tree4e7e18e49968f15ff69fdb7f1a3f4e7a33966cc0 /src/vcl/ldp.c
parent9fbacbc56b9f075e9f5fc3f5df1c18043145562c (diff)
vcl: switch to closed state after app close
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I851db474538de76d5f70dd6d6f83a6487a5a02bd
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 34eba377451..d0cf2b91367 100644
--- a/src/vcl/ldp.c
+++ b/src/vcl/ldp.c
@@ -653,6 +653,7 @@ ldp_select_vcl_map_to_libc (clib_bitmap_t * vclb, fd_set * __restrict libcb)
/* *INDENT-OFF* */
clib_bitmap_foreach (si, vclb, ({
vlsh = vls_session_index_to_vlsh (si);
+ ASSERT (vlsh != VLS_INVALID_HANDLE);
fd = ldp_vlsh_to_fd (vlsh);
if (PREDICT_FALSE (fd < 0))
{