On Sat, 26 Oct 2024 18:14:41 +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: f38f62650f7b ("ethdev: add Rx queue telemetry query") > Fixes: 9e7533aeb80a ("ethdev: add telemetry command for TM level > capabilities") > Cc: sta...@dpdk.org > > Signed-off-by: Jie Hai <haij...@huawei.com> > Acked-by: Chengwen Feng <fengcheng...@huawei.com> > Reviewed-by: Andrew Rybchenko <andrew.rybche...@oktetlabs.ru> > Acked-by: Morten Brørup <m...@smartsharesystems.com> Only called from RTE_INIT() so naturally single threaded. No need for this one in stable.