Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fib: keep AddressSanitizer happy
[vpp.git]
/
src
/
vnet
/
adj
/
adj_midchain_delegate.c
diff --git
a/src/vnet/adj/adj_midchain_delegate.c
b/src/vnet/adj/adj_midchain_delegate.c
index
de57442
..
16129ff
100644
(file)
--- a/
src/vnet/adj/adj_midchain_delegate.c
+++ b/
src/vnet/adj/adj_midchain_delegate.c
@@
-148,12
+148,11
@@
adj_midchain_delegate_remove (adj_index_t ai)
{
adj_nbr_midchain_unstack(ai);
{
adj_nbr_midchain_unstack(ai);
- adj_delegate_remove (ai, ADJ_DELEGATE_MIDCHAIN);
-
amd = pool_elt_at_index(amd_pool, ad->ad_index);
fib_entry_untrack(amd->amd_fei, amd->amd_sibling);
amd = pool_elt_at_index(amd_pool, ad->ad_index);
fib_entry_untrack(amd->amd_fei, amd->amd_sibling);
-
pool_put(amd_pool, amd);
pool_put(amd_pool, amd);
+
+ adj_delegate_remove (ai, ADJ_DELEGATE_MIDCHAIN);
}
}
}
}