summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vnet/vnet/pg/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/pg/output.c b/vnet/vnet/pg/output.c
index 64a0b7b9d92..3d1f2660e20 100644
--- a/vnet/vnet/pg/output.c
+++ b/vnet/vnet/pg/output.c
@@ -70,7 +70,7 @@ pg_output (vlib_main_t * vm, vlib_node_runtime_t * node, vlib_frame_t * frame)
pcap_write (&pif->pcap_main);
}
- vlib_buffer_free_no_next (vm, vlib_frame_args (frame), n_buffers);
+ vlib_buffer_free (vm, vlib_frame_args (frame), n_buffers);
if (PREDICT_FALSE (pif->lockp != 0))
*pif->lockp = 0;
return n_buffers;