threads: add assert to silence coverity warning
Change-Id: I381786b26050f2dfcb4c74094309cf2114d26d85 Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:

committed by
Neale Ranns

parent
409ef615f8
commit
dac225e5e4
@ -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:
|
||||
|
Reference in New Issue
Block a user