Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3c514d5
)
FIB: adj src assert fix part 2
11/16611/2
author
Neale Ranns
<nranns@cisco.com>
Sun, 23 Dec 2018 16:57:27 +0000
(08:57 -0800)
committer
Neale Ranns
<nranns@cisco.com>
Mon, 24 Dec 2018 15:03:53 +0000
(15:03 +0000)
Change-Id: Ic112180e53a55993b06ba18102202d6ac5854def
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/fib/fib_entry_src_adj.c
patch
|
blob
|
history
diff --git
a/src/vnet/fib/fib_entry_src_adj.c
b/src/vnet/fib/fib_entry_src_adj.c
index
57a802d
..
14bc1c4
100644
(file)
--- a/
src/vnet/fib/fib_entry_src_adj.c
+++ b/
src/vnet/fib/fib_entry_src_adj.c
@@
-292,8
+292,15
@@
fib_entry_src_adj_deactivate (fib_entry_src_t *src,
/*
* remove the depednecy on the covering entry
*/
- cover = fib_entry_get(src->u.adj.fesa_cover);
+ if (FIB_NODE_INDEX_INVALID == src->u.adj.fesa_cover)
+ {
+ /*
+ * this is the case if the entry is in the non-forwarding trie
+ */
+ return;
+ }
+ cover = fib_entry_get(src->u.adj.fesa_cover);
fib_entry_cover_untrack(cover, src->u.adj.fesa_sibling);
/*