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
kvargs: use SPDX tags
[dpdk.git]
/
lib
/
librte_lpm
/
rte_lpm.c
diff --git
a/lib/librte_lpm/rte_lpm.c
b/lib/librte_lpm/rte_lpm.c
index
d464dbd
..
d00b13d
100644
(file)
--- a/
lib/librte_lpm/rte_lpm.c
+++ b/
lib/librte_lpm/rte_lpm.c
@@
-180,6
+180,7
@@
rte_lpm_create_v20(const char *name, int socket_id, int max_rules,
}
if (te != NULL) {
+ lpm = NULL;
rte_errno = EEXIST;
goto exit;
}
@@
-256,6
+257,7
@@
rte_lpm_create_v1604(const char *name, int socket_id,
}
if (te != NULL) {
+ lpm = NULL;
rte_errno = EEXIST;
goto exit;
}