]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Let's actually track if the nh was updated
authorDonald Sharp <sharpd@nvidia.com>
Fri, 4 Dec 2020 13:01:31 +0000 (08:01 -0500)
committerIgor Ryzhov <iryzhov@nfware.com>
Wed, 9 Dec 2020 20:36:33 +0000 (23:36 +0300)
commit61a697640ebf269c46b59d4eee9fb702201f9770
treeb0ff6a278ad407c49af0e461d42357f25c1f2f86
parente84df352be9e135ed33b84ac54c2f01a5ef4e5c3
bgpd: Let's actually track if the nh was updated

In bgp_zebra_announce when iterating over multipath
we were checking to ensure that the nexthop was updated
but never initially clearing the nh_updated variable.
Thus leading to a situation where we could crash.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_zebra.c