On Tue, 14 Nov 2023 18:59:46 +0800 Jie Hai <haij...@huawei.com> wrote:
> Multiple threads calling the same function may cause condition > race issues, which often leads to abnormal behavior and can cause > more serious vulnerabilities such as abnormal termination, denial > of service, and compromised data integrity. > > The strtok() is non-reentrant, it is better to replace it with a > reentrant version. > > Fixes: 0acdb9866756 ("test/bbdev: add FFT operations cases") > Fixes: f714a18885a6 ("app/testbbdev: add test application for bbdev") > Cc: sta...@dpdk.org > > Signed-off-by: Jie Hai <haij...@huawei.com> > Acked-by: Chengwen Feng <fengcheng...@huawei.com> NAK Please don't make wide assertions about multi-threading. All these are only called from test_bbdev_vector_read which is single threaded. Please limit patches to places where you are sure the use is multi-threaded.