summaryrefslogtreecommitdiffstats
path: root/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'vnet')
-rw-r--r--vnet/vnet/replication.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vnet/vnet/replication.c b/vnet/vnet/replication.c
index 999e1b12326..fc2cbd1d860 100644
--- a/vnet/vnet/replication.c
+++ b/vnet/vnet/replication.c
@@ -122,6 +122,7 @@ replication_recycle (vlib_main_t * vm,
// This is the last replication in the list.
// Restore original buffer free functionality.
b0->free_list_index = ctx->saved_free_list_index;
+ b0->flags &= ~VLIB_BUFFER_RECYCLE;
// Free context back to its pool
pool_put (rm->contexts[cpu_number], ctx);