From: Neale Ranns Date: Fri, 31 Dec 2021 09:18:31 +0000 (+0000) Subject: fib: Refetech the adj after the walk in case the pool realloc'd X-Git-Tag: v22.06-rc0~86 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F10%2F34810%2F2;p=vpp.git fib: Refetech the adj after the walk in case the pool realloc'd Type: fix Signed-off-by: Neale Ranns Change-Id: I8734c72cf15533d6614fbeb53b95c824dbd251a9 --- diff --git a/src/vnet/adj/adj_nbr.c b/src/vnet/adj/adj_nbr.c index 293badefd7d..d289bb6a2a8 100644 --- a/src/vnet/adj/adj_nbr.c +++ b/src/vnet/adj/adj_nbr.c @@ -600,7 +600,7 @@ adj_nbr_update_rewrite_internal (ip_adjacency_t *adj, walk_adj->ia_flags &= ~ADJ_FLAG_SYNC_WALK_ACTIVE; } - adj_delegate_adj_modified(adj); + adj_delegate_adj_modified(adj_get(ai)); adj_unlock(ai); adj_unlock(walk_ai); }