summaryrefslogtreecommitdiffstats
path: root/src/vlibmemory
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2022-05-11 13:41:20 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2022-05-11 13:47:10 +0000
commitd6ea087174d08d4032a16bdb89f4177fa57d9f4f (patch)
tree1f42b2910d71537549e74c358f0986c4046ce256 /src/vlibmemory
parent3ddee3f572bf91d365aa36e1f1d85d16d7524545 (diff)
api: revert the changes to atexit for shared memory client
2ca88ff97884ec9ed20a853b13cee6d86f9c9d0f introduced the change into the shared memory atexit, which breaks IPSec tests in some environments. Type: fix Fixes: 2ca88ff97884ec9ed20a853b13cee6d86f9c9d0f Change-Id: Ia132cb045e8d66f55e41d29cffdca3458d61096d Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/vlibmemory')
-rw-r--r--src/vlibmemory/memory_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlibmemory/memory_api.c b/src/vlibmemory/memory_api.c
index b1d250b8a5f..ecdcc7260be 100644
--- a/src/vlibmemory/memory_api.c
+++ b/src/vlibmemory/memory_api.c
@@ -1029,7 +1029,7 @@ vl_api_client_index_to_input_queue (u32 index)
static clib_error_t *
setup_memclnt_exit (vlib_main_t * vm)
{
- atexit (vl_unmap_shmem_client);
+ atexit (vl_unmap_shmem);
return 0;
}