]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Fix another ships in the night issue with WFI
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 18 Oct 2021 17:49:35 +0000 (13:49 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 9 Dec 2024 17:35:42 +0000 (12:35 -0500)
commitda7393b8fd67a6e0927af037dd263cc9d4e4b903
tree2ca8135db5539703dc88fd5a8bc7f1e5fdd8cdfd
parent5fba3c4d74af2bc4156468e3d96b0f3ad971c993
zebra: Fix another ships in the night issue with WFI

Effectively When bgp would send a route update down
to zebra and immediately after that a asic update
from the kernel was read.  Zebra would choose the
asic update and drop the bgp update leaving us in
a state where bgp was not used as the true source.

Modify the code so that in rib_multipath_nhe
we notice that we have an unprocessed route update
from bgp.  And if so just drop this kernel update
about an older version of the route since it is
no longer needed.

Ticket: 2722533
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zebra_rib.c