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:
33b81da
)
vlib: reset frame flags when frame is reused
42/16042/2
author
Damjan Marion
<damarion@cisco.com>
Tue, 20 Nov 2018 08:55:10 +0000
(09:55 +0100)
committer
Andrew Yourtchenko
<ayourtch@gmail.com>
Tue, 20 Nov 2018 11:29:09 +0000
(11:29 +0000)
Change-Id: I8f4843e7a961a1e6c3fd057554b31ae49fc9b328
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/vlib/main.c
patch
|
blob
|
history
diff --git
a/src/vlib/main.c
b/src/vlib/main.c
index
666b869
..
77dc573
100644
(file)
--- a/
src/vlib/main.c
+++ b/
src/vlib/main.c
@@
-384,6
+384,7
@@
vlib_get_next_frame_internal (vlib_main_t * vm,
{
nf->flags &= ~VLIB_FRAME_PENDING;
f->n_vectors = 0;
+ f->flags = 0;
}
/* Allocate new frame if current one is already full. */