]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_nhg.c
zebra: Add handling for kernel del/update nexthop
authorStephen Worley <sworley@cumulusnetworks.com>
Thu, 1 Aug 2019 18:24:35 +0000 (14:24 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:41 +0000 (11:13 -0400)
commit9a1588c4ce9ef163c9f4eeeed1a92e11133ed6c8
tree3e7bb38a7c0ab81b40158c817a7d0a2ef5631f9e
parent38e40db1c9695786d41a85661e313ce5a207866f
zebra: Add handling for kernel del/update nexthop

Add handling for delete/update nexthop object messages from the
kernel.

If someone deletes a nexthop object we are still using, send it back
down. If the someone updates a nexthop we are using, replace that nexthop
with ours. Routes are referencing this nexthop object ID and we resolved
it ourselves, so we should force the other `someone` to submit to our
will.

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