Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vppinfra: add defines for bihash add and delete
[vpp.git]
/
src
/
vlibmemory
/
memory_client.c
diff --git
a/src/vlibmemory/memory_client.c
b/src/vlibmemory/memory_client.c
index
bd89526
..
64650b6
100644
(file)
--- a/
src/vlibmemory/memory_client.c
+++ b/
src/vlibmemory/memory_client.c
@@
-63,7
+63,7
@@
rx_thread_fn (void *arg)
vlibapi_set_main (a->am);
vlibapi_set_memory_client_main (a->mm);
vlibapi_set_main (a->am);
vlibapi_set_memory_client_main (a->mm);
-
clib_mem_
free (a);
+ free (a);
mm = vlibapi_get_memory_client_main ();
q = vlibapi_get_main ()->vl_input_queue;
mm = vlibapi_get_memory_client_main ();
q = vlibapi_get_main ()->vl_input_queue;
@@
-395,7
+395,7
@@
vl_client_api_unmap (void)
u8
vl_mem_client_is_connected (void)
{
u8
vl_mem_client_is_connected (void)
{
- return (m
emory_client_main.
connected_to_vlib != 0);
+ return (m
y_memory_client_main->
connected_to_vlib != 0);
}
static int
}
static int
@@
-428,7
+428,7
@@
connect_to_vlib_internal (const char *svm_name,
if (thread_fn == rx_thread_fn)
{
rx_thread_fn_arg_t *arg;
if (thread_fn == rx_thread_fn)
{
rx_thread_fn_arg_t *arg;
- arg =
clib_mem_
alloc (sizeof (*arg));
+ arg =
m
alloc (sizeof (*arg));
arg->am = vlibapi_get_main ();
arg->mm = vlibapi_get_memory_client_main ();
thread_fn_arg = (void *) arg;
arg->am = vlibapi_get_main ();
arg->mm = vlibapi_get_memory_client_main ();
thread_fn_arg = (void *) arg;