From 97f8ae923a37d2682cdf0a295fc2dfe8ab02db38 Mon Sep 17 00:00:00 2001 From: Tom Seidenberg Date: Fri, 15 Mar 2019 10:15:26 -0400 Subject: Fix bihash bucket double unlock. Change-Id: Icc9bef32d1bb2b8f277598c50c69343c81f22cd2 Signed-off-by: Tom Seidenberg --- src/vppinfra/bihash_template.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/vppinfra') diff --git a/src/vppinfra/bihash_template.c b/src/vppinfra/bihash_template.c index 698053867a4..6e910febce1 100644 --- a/src/vppinfra/bihash_template.c +++ b/src/vppinfra/bihash_template.c @@ -441,8 +441,7 @@ static inline int BV (clib_bihash_add_del_inline) tmp_b.refcnt = 1; CLIB_MEMORY_BARRIER (); - b->as_u64 = tmp_b.as_u64; - BV (clib_bihash_unlock_bucket) (b); + b->as_u64 = tmp_b.as_u64; /* unlocks the bucket */ return (0); } -- cgit 1.2.3-korg