diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/avf/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/avf/input.c b/src/plugins/avf/input.c index 27c3683f57c..0b1ac744a1f 100644 --- a/src/plugins/avf/input.c +++ b/src/plugins/avf/input.c @@ -70,7 +70,7 @@ avf_rxq_refill (vlib_main_t * vm, vlib_node_runtime_t * node, avf_rxq_t * rxq, vlib_error_count (vm, node->node_index, AVF_INPUT_ERROR_BUFFER_ALLOC, 1); if (n_alloc) - vlib_buffer_free (vm, rxq->bufs + slot, n_alloc); + vlib_buffer_free_from_ring (vm, rxq->bufs, slot, rxq->size, n_alloc); return; } |