diff options
-rw-r--r-- | vlib/vlib/threads_cli.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vlib/vlib/threads_cli.c b/vlib/vlib/threads_cli.c index 631fe0c6244..70bf729b306 100644 --- a/vlib/vlib/threads_cli.c +++ b/vlib/vlib/threads_cli.c @@ -109,6 +109,7 @@ show_threads_fn (vlib_main_t * vm, line = format (line, "%-7u%-7u%-7u%", lcore, core_id, socket_id); #if DPDK==1 + ASSERT (lcore <= RTE_MAX_LCORE); switch (lcore_config[lcore].state) { case WAIT: |