diff options
Diffstat (limited to 'src/vnet/ip')
-rwxr-xr-x | src/vnet/ip/ping.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vnet/ip/ping.c b/src/vnet/ip/ping.c index f147e47f1c2..92a92e50201 100755 --- a/src/vnet/ip/ping.c +++ b/src/vnet/ip/ping.c @@ -404,8 +404,7 @@ init_icmp46_echo_request (vlib_main_t * vm, vlib_buffer_t * b0, int this_buf_data_len = remaining_data_len < VLIB_BUFFER_DATA_SIZE ? remaining_data_len : VLIB_BUFFER_DATA_SIZE; - int n_alloc = vlib_buffer_alloc_from_free_list (vm, &b0->next_buffer, 1, - hb->free_list_index); + int n_alloc = vlib_buffer_alloc (vm, &b0->next_buffer, 1); if (n_alloc < 1) { /* That is how much we have so far - return it... */ |