]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Allow multiple rib deletes from linux kernel 234/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 16 Feb 2017 21:59:20 +0000 (16:59 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 1 Mar 2017 13:30:55 +0000 (08:30 -0500)
commit2f8685a25525580347e82c2de35d5c26d997f934
tree490f2eac4dcb7db6e4ece5c5d57c2c0616d72557
parenta2ca67d1d21ee8fdf33906e12815663584634e94
zebra: Allow multiple rib deletes from linux kernel

The kernel can send a DELROUTE with a individual
nexthop.  Technically this is meant to delete that
individual nexthop from the route but zebra
has no way to do this currently.  So we just delete
the route.

V4 -> Never sends a DELROUTE with multiple nexthops
as a way to modify the rib.  It sends a a NEWROUTE
with RTM_REPLACE with the new appropriate route.

V6 -> Sends a DELROUTE with multiple nexthops
which is supposed to be interpreted as a
subtraction from the route.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/rt_netlink.c