summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2020-09-25 09:43:45 +0000
committerKlement Sekera <ksekera@cisco.com>2020-09-25 13:31:26 +0000
commita26b40af90d315bee9a53d39a6d4b6102b981551 (patch)
tree6616825c264d83127ec23b761dff8908b6195437 /src/vnet
parentdf143bf7054a1db94816ae6c8c59ccf34405af46 (diff)
bfd: add missing unlock
Thanks to Martin Sustrik for spotting the bug introduced by a316744 and submitting the fix. Type: fix Signed-off-by: Klement Sekera <ksekera@cisco.com> Change-Id: I4984fc32503b0c7b6db3543834dfbbfed2a1f23c
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/bfd/bfd_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/bfd/bfd_main.c b/src/vnet/bfd/bfd_main.c
index 4b8975732af..80722163762 100644
--- a/src/vnet/bfd/bfd_main.c
+++ b/src/vnet/bfd/bfd_main.c
@@ -1190,6 +1190,7 @@ bfd_process (vlib_main_t * vm, vlib_node_runtime_t * rt, vlib_frame_t * f)
}
else
{
+ bfd_unlock (bm);
(void) vlib_process_wait_for_event (vm);
}
event_type = vlib_process_get_events (vm, &event_data);