aboutsummaryrefslogtreecommitdiffstats
path: root/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'vnet')
-rw-r--r--vnet/vnet/devices/af_packet/node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vnet/vnet/devices/af_packet/node.c b/vnet/vnet/devices/af_packet/node.c
index 9c1c4a32238..ceb89efad30 100644
--- a/vnet/vnet/devices/af_packet/node.c
+++ b/vnet/vnet/devices/af_packet/node.c
@@ -260,6 +260,7 @@ af_packet_input_fn (vlib_main_t * vm, vlib_node_runtime_t * node,
clib_bitmap_foreach (i, apm->pending_input_bitmap,
({
+ clib_bitmap_set (apm->pending_input_bitmap, i, 0);
n_rx_packets += af_packet_device_input_fn(vm, node, frame, i);
}));