diff options
Diffstat (limited to 'src/vnet/unix/tapcli.c')
-rw-r--r-- | src/vnet/unix/tapcli.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/vnet/unix/tapcli.c b/src/vnet/unix/tapcli.c index 83ac33f49dc..b4df8e84fe4 100644 --- a/src/vnet/unix/tapcli.c +++ b/src/vnet/unix/tapcli.c @@ -297,11 +297,8 @@ tapcli_rx_iface (vlib_main_t * vm, { uword len = vec_len (tm->threads[thread_index].rx_buffers); _vec_len (tm->threads[thread_index].rx_buffers) += - vlib_buffer_alloc_from_free_list (vm, - &tm->threads[thread_index]. - rx_buffers[len], - VLIB_FRAME_SIZE - len, - VLIB_BUFFER_DEFAULT_FREE_LIST_INDEX); + vlib_buffer_alloc (vm, &tm->threads[thread_index].rx_buffers[len], + VLIB_FRAME_SIZE - len); if (PREDICT_FALSE (vec_len (tm->threads[thread_index].rx_buffers) < tm->mtu_buffers)) |