From 7d3c2b738ea5598d1a4e11561f6b3e74e09f5b0f Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Thu, 23 Jan 2020 22:46:06 +0000 Subject: fib: Reload the adj after possible realloc (VPP-1822) Type: fix Fixes: 418b225931634f6d113d2971cb9550837d69929d Change-Id: Ia5f4ea24188c4f3de87e06a7fd07b40bcb47cfc1 Signed-off-by: Neale Ranns --- src/vnet/adj/adj_nbr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/vnet/adj/adj_nbr.c b/src/vnet/adj/adj_nbr.c index 9413ae185fb..9e990e00f3b 100644 --- a/src/vnet/adj/adj_nbr.c +++ b/src/vnet/adj/adj_nbr.c @@ -511,6 +511,7 @@ adj_nbr_update_rewrite_internal (ip_adjacency_t *adj, */ if (do_walk) { + walk_adj = adj_get(walk_ai); walk_adj->ia_flags &= ~ADJ_FLAG_SYNC_WALK_ACTIVE; } -- cgit 1.2.3-korg