X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fip%2Fping.c;h=f438ce960606ba9aeb27e6ef7426f4274a2e821b;hb=71612d61930e57e7c8ebf9e5647b15a4b23720b2;hp=eee2575a2ea9d0cee80626141eb5e339de4b1583;hpb=03a6213fb5022d37ea92f974a1814db1c70bcbdf;p=vpp.git diff --git a/src/vnet/ip/ping.c b/src/vnet/ip/ping.c index eee2575a2ea..f438ce96060 100755 --- a/src/vnet/ip/ping.c +++ b/src/vnet/ip/ping.c @@ -19,7 +19,8 @@ #include #include #include -#include + +ping_main_t ping_main; /** * @file @@ -98,7 +99,7 @@ signal_ip46_icmp_reply_event (u8 event_type, vlib_buffer_t * b0) clib_memcpy (vnet_buffer (vlib_get_buffer (vm, bi0_copy))->unused, &nowts, sizeof (nowts)); - vlib_process_signal_event (vm, pr->cli_process_id, event_type, bi0_copy); + vlib_process_signal_event_mt (vm, pr->cli_process_id, event_type, bi0_copy); return 1; } @@ -647,6 +648,7 @@ run_ping_ip46_address (vlib_main_t * vm, u32 table_id, ip4_address_t * pa4, i = 1 + ping_repeat; break; } + vec_free (event_data); } } vlib_cli_output (vm, "\n");