vlib: reset frame flags when frame is reused 42/16042/2
authorDamjan Marion <damarion@cisco.com>
Tue, 20 Nov 2018 08:55:10 +0000 (09:55 +0100)
committerAndrew 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

index 666b869..77dc573 100644 (file)
@@ -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. */