From: Andrew Yourtchenko Date: Wed, 11 May 2022 13:41:20 +0000 (+0000) Subject: api: revert the changes to atexit for shared memory client X-Git-Tag: v22.10-rc0~35 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F24%2F36124%2F2;p=vpp.git 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 --- 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; }