summaryrefslogtreecommitdiffstats
path: root/src/vnet/adj
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-01-23 22:46:06 +0000
committerDamjan Marion <dmarion@me.com>2020-01-27 19:19:58 +0000
commit37157d52794f7f5774435d7bd524e3f998213a8a (patch)
tree393ffdb0978a0d4f71bbc95ea18a1fcd3f3bb84a /src/vnet/adj
parent5ecc1e4d433a34845c7bfd761dc990413e6c321b (diff)
fib: Reload the adj after possible realloc (VPP-1822)
Type: fix Fixes: 418b225931634f6d113d2971cb9550837d69929d Change-Id: Ia5f4ea24188c4f3de87e06a7fd07b40bcb47cfc1 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/adj')
-rw-r--r--src/vnet/adj/adj_nbr.c1
1 files changed, 1 insertions, 0 deletions
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;
}