commit | 97f8ae923a37d2682cdf0a295fc2dfe8ab02db38 | [log] [tgz] |
---|---|---|
author | Tom Seidenberg <tseidenb@cisco.com> | Fri Mar 15 10:15:26 2019 -0400 |
committer | Dave Barach <openvpp@barachs.net> | Fri Mar 15 20:15:24 2019 +0000 |
tree | b58c1e38231f2badb8b504b9a0dc34c59a1f0609 | |
parent | e4a6d69faa6e72650bd2097414457b991bc5ef93 [diff] [blame] |
Fix bihash bucket double unlock. Change-Id: Icc9bef32d1bb2b8f277598c50c69343c81f22cd2 Signed-off-by: Tom Seidenberg <tseidenb@cisco.com>
diff --git a/src/vppinfra/bihash_template.c b/src/vppinfra/bihash_template.c index 6980538..6e910fe 100644 --- a/src/vppinfra/bihash_template.c +++ b/src/vppinfra/bihash_template.c
@@ -441,8 +441,7 @@ 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); }