]> git.proxmox.com Git - mirror_frr.git/commit
zebra,pbrd: Update pbrd to handle NHT properly
authorStephen Worley <sworley@cumulusnetworks.com>
Mon, 10 Jun 2019 04:39:40 +0000 (00:39 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Mon, 10 Jun 2019 18:36:30 +0000 (14:36 -0400)
commitb822b93a356c200202b7e7f90cbadd7068837c2b
treeb43e4102bf3fa737fade5f537b1e0db3c4066400
parentad9255f8feb75c021ad12a65f4dfa9015abb64e7
zebra,pbrd: Update pbrd to handle NHT properly

Update pbrd to properly handle nexthop tracking.

When we get a notification that a change happened on a nexthop,
re-install it if its still valid.

Before, we were running over all routes and re-queueing them if they
were PBR routes. This commit removes that and puts all the processing
in PBR instead.

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