aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-01-23 22:46:06 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-01-27 20:55:34 +0000
commit7d3c2b738ea5598d1a4e11561f6b3e74e09f5b0f (patch)
tree0bdd8add895c449206a92302a1e6a5789b774c4d
parent664c9613ac5485859c8307d66f6b2d5bc0f4fc43 (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>
-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;
}