diff options
author | Ole Troan <ot@cisco.com> | 2018-02-15 16:14:56 +0100 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2018-02-15 19:13:26 +0000 |
commit | a44b015aa012d3b07ed873925d47c6d5955b7dd2 (patch) | |
tree | c5fe04939f0f8f55d8ba3dd18e659795ff1209c0 /src/vnet/adj/adj.c | |
parent | 4ca80c49f68eba65c5bd3106d3b7e865d045a1f8 (diff) |
Adj: VFTs for adjacency sub-blocks
Change-Id: I19390f87343bacea84b49fc5d08af38875fdafdd
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vnet/adj/adj.c')
-rw-r--r-- | src/vnet/adj/adj.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vnet/adj/adj.c b/src/vnet/adj/adj.c index d28d5195330..e1d7821fd39 100644 --- a/src/vnet/adj/adj.c +++ b/src/vnet/adj/adj.c @@ -139,7 +139,7 @@ format_ip_adjacency (u8 * s, va_list * args) s = format(s, "\n delegates:\n "); FOR_EACH_ADJ_DELEGATE(adj, adt, aed, { - s = format(s, " %U\n", format_adj_deletegate, aed); + s = format(s, " %U\n", format_adj_delegate, aed); }); s = format(s, "\n children:\n "); @@ -162,6 +162,8 @@ adj_last_lock_gone (ip_adjacency_t *adj) ASSERT(0 == fib_node_list_get_size(adj->ia_node.fn_children)); ADJ_DBG(adj, "last-lock-gone"); + adj_delegate_vft_lock_gone(adj); + vlib_worker_thread_barrier_sync (vm); switch (adj->lookup_next_index) |