git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
regex/mlx5: fix crash on probe failure
[dpdk.git]
/
drivers
/
regex
/
mlx5
/
mlx5_regex.c
diff --git
a/drivers/regex/mlx5/mlx5_regex.c
b/drivers/regex/mlx5/mlx5_regex.c
index
05048e7
..
c91c444
100644
(file)
--- a/
drivers/regex/mlx5/mlx5_regex.c
+++ b/
drivers/regex/mlx5/mlx5_regex.c
@@
-157,7
+157,7
@@
mlx5_regex_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,
if (!priv) {
DRV_LOG(ERR, "Failed to allocate private memory.");
rte_errno = ENOMEM;
- goto error;
+ goto
dev_
error;
}
priv->ctx = ctx;
priv->nb_engines = 2; /* attr.regexp_num_of_engines */