diff options
author | Neale Ranns <nranns@cisco.com> | 2018-12-23 08:57:27 -0800 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2018-12-24 15:03:53 +0000 |
commit | d482336380e08e4edf08e64b94a7388315fc2d68 (patch) | |
tree | 958f0dbeb7d1a1cdddf41f2587d4ffd20f61e568 /src/vnet/fib | |
parent | 3c514d5516498c67f313d3bfe62288d4f36fba54 (diff) |
FIB: adj src assert fix part 2
Change-Id: Ic112180e53a55993b06ba18102202d6ac5854def
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/fib')
-rw-r--r-- | src/vnet/fib/fib_entry_src_adj.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/vnet/fib/fib_entry_src_adj.c b/src/vnet/fib/fib_entry_src_adj.c index 57a802d16c5..14bc1c4390e 100644 --- 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); /* |