Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
66cf5e0
)
Fix bug in vlib_buffer_free_from_ring_no_next
73/12973/2
author
Damjan Marion
<damarion@cisco.com>
Sat, 9 Jun 2018 17:29:16 +0000
(19:29 +0200)
committer
Florin Coras
<florin.coras@gmail.com>
Sat, 9 Jun 2018 18:50:21 +0000
(18:50 +0000)
Change-Id: I332bb4578d1a3c79770985bf1f315d2ed823a3e5
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/vlib/buffer_funcs.h
patch
|
blob
|
history
diff --git
a/src/vlib/buffer_funcs.h
b/src/vlib/buffer_funcs.h
index
509d381
..
f30ff69
100644
(file)
--- 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
{