]> git.droids-corp.org - dpdk.git/commit
regex/mlx5: fix memory allocation check
authorWeiguo Li <liwg06@foxmail.com>
Tue, 25 Jan 2022 11:51:41 +0000 (19:51 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 10 Feb 2022 15:32:19 +0000 (16:32 +0100)
commit60e9028a8e7e034bcfc7054b12c39f1f2ee2513c
treeb2d5c7094b8d64565ccc86db0256e6f67efa7e95
parent56b5bb509febb80b1d4bac425185006abb25dd09
regex/mlx5: fix memory allocation check

The wrong field was checked after allocation.

Fixes: e3dbbf718ebc ("regex/mlx5: support configuration")
Cc: stable@dpdk.org
Signed-off-by: Weiguo Li <liwg06@foxmail.com>
drivers/regex/mlx5/mlx5_rxp.c