On 11/14/23 13:59, Jie Hai 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: [email protected]

Signed-off-by: Jie Hai <[email protected]>
Acked-by: Chengwen Feng <[email protected]>

Reviewed-by: Andrew Rybchenko <[email protected]>


Reply via email to