aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-11-20 09:55:10 +0100
committerAndrew Yourtchenko <ayourtch@gmail.com>2018-11-20 11:29:09 +0000
commit9162c2d2e2450b7d497ff4be002cf619009f3f9e (patch)
tree2009e51047f1c1c5c883565c1bdf90c9efa35e63
parent33b81da54acf1236cddf0716005c340f3402ff6d (diff)
vlib: reset frame flags when frame is reused
Change-Id: I8f4843e7a961a1e6c3fd057554b31ae49fc9b328 Signed-off-by: Damjan Marion <damarion@cisco.com>
-rw-r--r--src/vlib/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlib/main.c b/src/vlib/main.c
index 666b869915f..77dc573fc5d 100644
--- 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. */