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
Bump Standards-Version to 4.1.0, no changes
[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
ba4353c
..
32fdba0
100644
(file)
--- a/
lib/librte_lpm/rte_lpm6.c
+++ b/
lib/librte_lpm/rte_lpm6.c
@@
-601,7
+601,7
@@
int
rte_lpm6_lookup(const struct rte_lpm6 *lpm, uint8_t *ip, uint8_t *next_hop)
{
const struct rte_lpm6_tbl_entry *tbl;
rte_lpm6_lookup(const struct rte_lpm6 *lpm, uint8_t *ip, uint8_t *next_hop)
{
const struct rte_lpm6_tbl_entry *tbl;
- const struct rte_lpm6_tbl_entry *tbl_next;
+ const struct rte_lpm6_tbl_entry *tbl_next
= NULL
;
int status;
uint8_t first_byte;
uint32_t tbl24_index;
int status;
uint8_t first_byte;
uint32_t tbl24_index;
@@
-636,7
+636,7
@@
rte_lpm6_lookup_bulk_func(const struct rte_lpm6 *lpm,
{
unsigned i;
const struct rte_lpm6_tbl_entry *tbl;
{
unsigned i;
const struct rte_lpm6_tbl_entry *tbl;
- const struct rte_lpm6_tbl_entry *tbl_next;
+ const struct rte_lpm6_tbl_entry *tbl_next
= NULL
;
uint32_t tbl24_index;
uint8_t first_byte, next_hop;
int status;
uint32_t tbl24_index;
uint8_t first_byte, next_hop;
int status;