Fix for https://bugs.linaro.org/show_bug.cgi?id=1146
Signed-off-by: Ciprian Barbu <ciprian.ba...@linaro.org> --- example/l2fwd/odp_l2fwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/l2fwd/odp_l2fwd.c b/example/l2fwd/odp_l2fwd.c index 18403da..150de18 100644 --- a/example/l2fwd/odp_l2fwd.c +++ b/example/l2fwd/odp_l2fwd.c @@ -393,7 +393,7 @@ int main(int argc, char *argv[]) odph_linux_pthread_create(&thread_tbl[i], &thd_mask, thr_run_func, &gbl_args->thread[i]); - cpu = odp_cpumask_next(&thd_mask, cpu); + cpu = odp_cpumask_next(&cpumask, cpu); } /* Master thread waits for other threads to exit */ -- 1.8.3.2 _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp