diff options
author | Ole Troan <ot@cisco.com> | 2018-02-15 16:14:56 +0100 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2018-02-16 13:45:05 +0000 |
commit | 793c7fe5fcb224c8bf8f9a051be82eef5fd62ca1 (patch) | |
tree | 40f8c53b961ca4184e630571cf2d2fc0d1596a02 /src/vnet/adj/adj.c | |
parent | c819fc612f9a79eaba2981dc2e8f7c31552db5ea (diff) |
Adj: VFTs for adjacency sub-blocks
Change-Id: I85602b0178315023bb512babdd5b7dd4263a322d
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) |