]> git.puffer.fish Git - mirror/frr.git/commit
Zebra: Implement route replace semantics.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 11 Jun 2015 16:11:12 +0000 (09:11 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 11 Jun 2015 16:11:12 +0000 (09:11 -0700)
commit6ae24471cb3ca237a8e479f9c39557601c2cc2f2
tree584d27079771cd854e267b4367613e47f6d8df4a
parent94ad353dfd9916eabc8fe075a441dde9416a9d36
Zebra: Implement route replace semantics.

Zebra currently performs a delete followed by add when a route needs to be
modified. Change this to use the replace semantics of netlink so that the
operation can possibly be atomic.

Note: Only implemented for IPv4 currently.
zebra/kernel_null.c
zebra/rt.h
zebra/rt_ioctl.c
zebra/rt_netlink.c
zebra/rt_socket.c
zebra/zebra_rib.c