summaryrefslogtreecommitdiffstats
path: root/src/vnet/ethernet/p2p_ethernet_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/ethernet/p2p_ethernet_input.c')
-rw-r--r--src/vnet/ethernet/p2p_ethernet_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ethernet/p2p_ethernet_input.c b/src/vnet/ethernet/p2p_ethernet_input.c
index eeff4f06819..74e3bb883cf 100644
--- a/src/vnet/ethernet/p2p_ethernet_input.c
+++ b/src/vnet/ethernet/p2p_ethernet_input.c
@@ -63,7 +63,7 @@ static uword
p2p_ethernet_input_node_fn (vlib_main_t * vm,
vlib_node_runtime_t * node, vlib_frame_t * frame)
{
- u32 thread_index = vlib_get_thread_index ();
+ u32 thread_index = vm->thread_index;
u32 n_trace = vlib_get_trace_count (vm, node);
u32 n_left_from, *from, *to_next;
u32 next_index;