X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fip%2Fip4_forward.h;h=b1294fdf2c3cba82dbbbde64078140f39d1b8d62;hb=067cd6229a47ea3ba8b59a2a04090e80afb5bd2c;hp=553a0536c6c7d6da1df20abf71c8d900a375d80b;hpb=b6b04f0c2a64d6edd536add6900e9d458c2fe8d1;p=vpp.git diff --git a/src/vnet/ip/ip4_forward.h b/src/vnet/ip/ip4_forward.h index 553a0536c6c..b1294fdf2c3 100644 --- a/src/vnet/ip/ip4_forward.h +++ b/src/vnet/ip/ip4_forward.h @@ -60,7 +60,7 @@ ip4_lookup_inline (vlib_main_t * vm, vlib_combined_counter_main_t *cm = &load_balance_main.lbm_to_counters; u32 n_left_from, n_left_to_next, *from, *to_next; ip_lookup_next_t next; - u32 thread_index = vlib_get_thread_index (); + u32 thread_index = vm->thread_index; from = vlib_frame_vector_args (frame); n_left_from = frame->n_vectors;