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:
ee09f2d
)
buffers: fix vlib_buffer_free_no_next
88/20088/2
author
Damjan Marion
<damarion@cisco.com>
Tue, 11 Jun 2019 18:12:23 +0000
(20:12 +0200)
committer
Dave Barach
<openvpp@barachs.net>
Wed, 12 Jun 2019 14:31:58 +0000
(14:31 +0000)
Type: fix
Fixes:
910d369
Change-Id: I0e8380cd2b0dc038a028d9cf2568741059de460f
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
e9d0704
..
521a036
100644
(file)
--- a/
src/vlib/buffer_funcs.h
+++ b/
src/vlib/buffer_funcs.h
@@
-838,7
+838,7
@@
vlib_buffer_free_inline (vlib_main_t * vm, u32 * buffers, u32 n_buffers,
n_queue = 0;
}
n_queue = 0;
}
- if (
flags & VLIB_BUFFER_NEXT_PRESENT
)
+ if (
maybe_next && (flags & VLIB_BUFFER_NEXT_PRESENT)
)
{
bi = next;
goto next_in_chain;
{
bi = next;
goto next_in_chain;