Hi,
> -Original Message-
> From: Alex Vesker
> Sent: Thursday, November 3, 2022 2:52 PM
> To: Alex Vesker ; Slava Ovsiienko
> ; NBU-Contact-Thomas Monjalon (EXTERNAL)
> ; Suanming Mou ;
> Matan Azrad
> Cc: dev@dpdk.org; Ori Kam
> Subject: [PATCH] net/mlx5
The sysconf call can return a negative value (-1) on failure
this will lead to posix_memalign to fail. This is not a realistic
case which was found by the static checkers.
Coverity issue: 381674
Fixes: 3eb7488 ("net/mlx5/hws: add send layer")
Signed-off-by: Alex Vesker
Reviewed-by: Erez Shitrit
c: dev@dpdk.org; Ori Kam
> Subject: [PATCH] net/mlx5/hws: fix possible negative return on sq create
>
> The sysconf call can return a negative value (-1) on failure this will lead to
> posix_memalign to fail. This is not a realistic case which was found by the
> static checkers.
>
The sysconf call can return a negative value (-1) on failure
this will lead to posix_memalign to fail. This is not a realistic
case which was found by the static checkers.
Fixes: 3eb7488 ("net/mlx5/hws: add send layer")
Signed-off-by: Alex Vesker
Reviewed-by: Erez Shitrit
---
drivers/net/mlx5/h
4 matches
Mail list logo