summaryrefslogtreecommitdiffstats
path: root/src/vlib/buffer_funcs.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-06-09 19:29:16 +0200
committerFlorin Coras <florin.coras@gmail.com>2018-06-09 18:50:21 +0000
commit4a97393effc3b49b826a06eec9ea3b997fbb3d96 (patch)
tree14b1cb2104bf1052fd49a651de8ba6bd3615cf78 /src/vlib/buffer_funcs.h
parent66cf5e0c4220ac5cde3535983d05c8b972b89911 (diff)
Fix bug in vlib_buffer_free_from_ring_no_next
Change-Id: I332bb4578d1a3c79770985bf1f315d2ed823a3e5 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/buffer_funcs.h')
-rw-r--r--src/vlib/buffer_funcs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/buffer_funcs.h b/src/vlib/buffer_funcs.h
index 509d3817823..f30ff69735e 100644
--- a/src/vlib/buffer_funcs.h
+++ b/src/vlib/buffer_funcs.h
@@ -618,7 +618,7 @@ vlib_buffer_free_from_ring_no_next (vlib_main_t * vm, u32 * ring, u32 start,
if (PREDICT_TRUE (start + n_buffers <= ring_size))
{
- vlib_buffer_free (vm, ring + start, n_buffers);
+ vlib_buffer_free_no_next (vm, ring + start, n_buffers);
}
else
{