diff options
Diffstat (limited to 'src/plugins/memif')
-rw-r--r-- | src/plugins/memif/node.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/memif/node.c b/src/plugins/memif/node.c index 347112892be..c78a728bacd 100644 --- a/src/plugins/memif/node.c +++ b/src/plugins/memif/node.c @@ -345,6 +345,7 @@ memif_device_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node, ptd->buffer_template.current_data = start_offset; ptd->buffer_template.current_config_index = 0; ptd->buffer_template.buffer_pool_index = mq->buffer_pool_index; + ptd->buffer_template.ref_count = 1; if (mode == MEMIF_INTERFACE_MODE_ETHERNET) { |