aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/adj/adj_nbr.c
diff options
context:
space:
mode:
authorNeale Ranns <neale@graphiant.com>2021-12-31 09:18:31 +0000
committerFlorin Coras <florin.coras@gmail.com>2021-12-31 17:49:42 +0000
commite3aeb38fa82b77ae84643f5140d9674056b6b5ca (patch)
tree4e7059a205ae7d63cd6eba7a515b03e484fb6f35 /src/vnet/adj/adj_nbr.c
parent657b9e3e4d0b5580384974f7aa6ef58226cbbc4a (diff)
fib: Refetech the adj after the walk in case the pool realloc'd
Type: fix Signed-off-by: Neale Ranns <neale@graphiant.com> Change-Id: I8734c72cf15533d6614fbeb53b95c824dbd251a9
Diffstat (limited to 'src/vnet/adj/adj_nbr.c')
-rw-r--r--src/vnet/adj/adj_nbr.c2
1 files changed, 1 insertions, 1 deletions
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);
}