diff options
author | Nathan Skrzypczak <nathan.skrzypczak@gmail.com> | 2021-08-06 12:03:11 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2021-08-10 22:55:20 +0000 |
commit | a8c720e301f3576506b2b284fe925b055398b638 (patch) | |
tree | 491d9504b3ece4d5e5c5ba72ab58473246212f8f /src/vppinfra/bihash_template.h | |
parent | 384bd33e0481a6d4805ee55ec6a7f4809a40b695 (diff) |
vppinfra: Fix bihash del warning
Type: fix
When freeing an uninstantiated bihash
created with dont_add_to_all_bihash_list = 1
we get a warning. This removes the
warning & the search for the bihash on
cleanup.
Change-Id: Iac50ce7e30b97925768f7ad3cb1d30af14686e21
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/vppinfra/bihash_template.h')
-rw-r--r-- | src/vppinfra/bihash_template.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vppinfra/bihash_template.h b/src/vppinfra/bihash_template.h index da2f684b685..2a5c5861d88 100644 --- a/src/vppinfra/bihash_template.h +++ b/src/vppinfra/bihash_template.h @@ -170,6 +170,7 @@ BVS (clib_bihash) u64 alloc_arena; /* Base of the allocation arena */ volatile u8 instantiated; + u8 dont_add_to_all_bihash_list; /** * A custom format function to print the Key and Value of bihash_key instead of default hexdump |