]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Don't clear nexthop fib flag on rib_install
authorStephen Worley <sworley@cumulusnetworks.com>
Mon, 11 Nov 2019 23:28:29 +0000 (18:28 -0500)
committerStephen Worley <sworley@cumulusnetworks.com>
Tue, 12 Nov 2019 06:24:39 +0000 (01:24 -0500)
commitace3bbba4bdeb1c92d69225a54c0149a11340b6c
treed2facd35e72e735a0e814a9d9912362a748b7a4f
parent19474c9c8c6b3a76c4d6b66baeff6a485fb5d5be
zebra: Don't clear nexthop fib flag on rib_install

We cannot clear the NEXTHOP_FLAG_FIB nexthop flag
when sending routes to the dataplane anymore since
nexthops are now shared.

We were seeing a situation where if we delete a route
using a nexthop group that is still active with another
route, the fib flag was being unset by this code
path despite them still being valid fib nexthops with the
other route.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/zebra_rib.c