diff options
author | Florin Coras <fcoras@cisco.com> | 2019-11-27 09:15:25 -0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-12-06 19:29:02 +0000 |
commit | 8d820857d91efa9adca86e935e2d559d310ee2a1 (patch) | |
tree | 5e915700594d157d4a25d1d7ca46cbdf99d01689 /src/vlibmemory/memory_shared.h | |
parent | 157a4ab4043cd9d1b6ac26b7853f1471a9095756 (diff) |
api: avoid swapping vlib_rp before barrier sync
Type: fix
Change-Id: I9868d13e827c6f5aa5535a38f629efb62ff12dbc
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vlibmemory/memory_shared.h')
-rw-r--r-- | src/vlibmemory/memory_shared.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlibmemory/memory_shared.h b/src/vlibmemory/memory_shared.h index 8d5e472e455..4c4773d060b 100644 --- a/src/vlibmemory/memory_shared.h +++ b/src/vlibmemory/memory_shared.h @@ -117,6 +117,7 @@ void *vl_msg_api_alloc_as_if_client_or_null (int nbytes); void *vl_mem_api_alloc_as_if_client_w_reg (vl_api_registration_t * reg, int nbytes); void vl_msg_api_free (void *a); +void vl_msg_api_free_w_region (svm_region_t * vlib_rp, void *a); int vl_map_shmem (const char *region_name, int is_vlib); void vl_unmap_shmem (void); void vl_unmap_shmem_client (void); |