diff options
author | Tom Seidenberg <tseidenb@cisco.com> | 2019-03-15 10:15:26 -0400 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-03-15 20:15:24 +0000 |
commit | 97f8ae923a37d2682cdf0a295fc2dfe8ab02db38 (patch) | |
tree | b58c1e38231f2badb8b504b9a0dc34c59a1f0609 /src/vppinfra | |
parent | e4a6d69faa6e72650bd2097414457b991bc5ef93 (diff) |
Fix bihash bucket double unlock.
Change-Id: Icc9bef32d1bb2b8f277598c50c69343c81f22cd2
Signed-off-by: Tom Seidenberg <tseidenb@cisco.com>
Diffstat (limited to 'src/vppinfra')
-rw-r--r-- | src/vppinfra/bihash_template.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); } |