summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-01-23 22:46:06 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-01-28 13:13:43 +0000
commitadd407ef373966ebc52857ba035adcaabe6f4006 (patch)
tree358ca808e9ad91ccc5ee7b2a0f607eeb4881e359 /src
parentc385a95e8ed81c39d02114f975850ea52ae7dc17 (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')
-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 5368f835795..c80317a67a5 100644
--- a/src/vnet/adj/adj_nbr.c
+++ b/src/vnet/adj/adj_nbr.c
@@ -507,6 +507,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;
}