diff options
author | Keith Burns (alagalah) <alagalah@gmail.com> | 2017-10-20 13:55:18 -0700 |
---|---|---|
committer | Keith Burns (alagalah) <alagalah@gmail.com> | 2017-10-20 13:55:18 -0700 |
commit | 0bda0f4b908971c8f16eec9fad176be2b6cbd90a (patch) | |
tree | b7a47ad38477e77a17ff77a1d53ae3256bf06820 /src/vlib/unix | |
parent | 0fd6ad62aafa6edb011d306c8eda4c1c623f12ab (diff) |
Thread_index for thread0 in vlib_global_main not initialised
Change-Id: Ie49ee865b197e8fe7bba170c115a4ccbf1013e5f
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
Diffstat (limited to 'src/vlib/unix')
-rw-r--r-- | src/vlib/unix/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlib/unix/main.c b/src/vlib/unix/main.c index f286c870b80..7e868f99cc2 100644 --- a/src/vlib/unix/main.c +++ b/src/vlib/unix/main.c @@ -626,6 +626,7 @@ vlib_unix_main (int argc, char *argv[]) vlib_thread_stack_init (0); __os_thread_index = 0; + vm->thread_index = 0; i = clib_calljmp (thread0, (uword) vm, (void *) (vlib_thread_stacks[0] + |