aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2020-09-25 09:43:45 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-09-25 13:25:47 +0000
commit9d211500a4c71dfad074073c51f09e175ce49059 (patch)
tree0dce9cb6263955776a749f830ca8fa75a288f665 /src/vnet
parent561ae5d17b5565d0644a5249acc8fdb7a6f72b44 (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);