[dpdk-dev] [PATCH] test/service: fix race condition on stopping lcore

David Marchand david.marchand at redhat.com
Fri Oct 16 13:50:18 CEST 2020


On Fri, Oct 16, 2020 at 11:13 AM Kevin Laatz <kevin.laatz at intel.com> wrote:
>
> There is a potential race condition in 'service_attr_get' which will cause
> test failures since the service core thread is still running while the
> values are being retrieved/reset.
>
> This patch fixes the race condition by waiting for the service core thread
> to stop before continuing with the unit test checks.

We won't backport it, since we need a new API, but I would flag it for info as:
Fixes: 4d55194d76a4 ("service: add attribute get function")

Ok for you?


--
David Marchand



More information about the dev mailing list