diff options
Diffstat (limited to 'src/vppinfra/mhash.c')
-rw-r--r-- | src/vppinfra/mhash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/mhash.c b/src/vppinfra/mhash.c index c917e164cd9..00b67c4959f 100644 --- a/src/vppinfra/mhash.c +++ b/src/vppinfra/mhash.c @@ -226,7 +226,7 @@ static uword mhash_set_tmp_key (mhash_t * h, const void *key) { u8 *key_tmp; - int my_cpu = os_get_cpu_number (); + int my_cpu = os_get_thread_index (); vec_validate (h->key_tmps, my_cpu); key_tmp = h->key_tmps[my_cpu]; |