Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New upstream version 16.11.4
[deb_dpdk.git]
/
lib
/
librte_lpm
/
rte_lpm6.c
diff --git
a/lib/librte_lpm/rte_lpm6.c
b/lib/librte_lpm/rte_lpm6.c
index
32fdba0
..
f9fecbe
100644
(file)
--- a/
lib/librte_lpm/rte_lpm6.c
+++ b/
lib/librte_lpm/rte_lpm6.c
@@
-511,7
+511,7
@@
rte_lpm6_add(struct rte_lpm6 *lpm, uint8_t *ip, uint8_t depth,
uint8_t next_hop)
{
struct rte_lpm6_tbl_entry *tbl;
uint8_t next_hop)
{
struct rte_lpm6_tbl_entry *tbl;
- struct rte_lpm6_tbl_entry *tbl_next;
+ struct rte_lpm6_tbl_entry *tbl_next
= NULL
;
int32_t rule_index;
int status;
uint8_t masked_ip[RTE_LPM6_IPV6_ADDR_SIZE];
int32_t rule_index;
int status;
uint8_t masked_ip[RTE_LPM6_IPV6_ADDR_SIZE];