X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Ffib%2Ffib_entry_src_adj.c;h=14bc1c4390e4ad5bc5411c087b1e5ce6869cfdd9;hb=d482336380e08e4edf08e64b94a7388315fc2d68;hp=57a802d16c5d881ae63b77d075d7e0fcb14f66f1;hpb=3c514d5516498c67f313d3bfe62288d4f36fba54;p=vpp.git 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); /*