From: David Ahern
Date: Wed, 5 Jun 2019 16:15:18 -0700
> + for (i = 0; i < newg->num_nh; ++i)
> + newg->nh_entries[i].nh_parent = old;
i++ please.
> + for (i = 0; i < oldg->num_nh; ++i)
> + oldg->nh_entries[i].nh_parent = new;
Likewise.
From: David Ahern
Add support for atomically upating a nexthop config.
When updating a nexthop, walk the lists of associated fib entries and
verify the new config is valid. After replace, bump the sequence counters
for FIB entries to invalidate any dst entries.
Signed-off-by: David Ahern
---