api: revert the changes to atexit for shared memory client 24/36124/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 11 May 2022 13:41:20 +0000 (13:41 +0000)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 11 May 2022 13:47:10 +0000 (13:47 +0000)
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>
src/vlibmemory/memory_api.c

index b1d250b..ecdcc72 100644 (file)
@@ -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;
 }