On Tue, 14 Nov 2023 18:59:46 +0800
Jie Hai <[email protected]> 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: [email protected]
>
> Signed-off-by: Jie Hai <[email protected]>
> Acked-by: Chengwen Feng <[email protected]>
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.