This is revised version of the atomic FIB updates + FIB override route support; previously sent as part of 'preparation for nhrpd' patchset.
Atomic FIB updates patch is fixed to work with netlink if metric changes. This required to rework the kernel api to take old and new struct rib*. The rt_socket code is not tested. The patches are also now written in a way that FIB override route patch does not need to change as many things as earlier. Feedback / review is appreciated. Timo Teräs (2): zebra: atomic FIB updates zebra: support FIB override routes lib/zebra.h | 1 + zebra/kernel_null.c | 14 +- zebra/kernel_socket.c | 8 +- zebra/rib.h | 1 + zebra/rt.h | 9 +- zebra/rt_netlink.c | 39 +++-- zebra/rt_socket.c | 69 ++++----- zebra/zebra_fpm.c | 2 +- zebra/zebra_rib.c | 391 ++++++++++++++++++++++---------------------------- zebra/zebra_vty.c | 8 ++ 10 files changed, 226 insertions(+), 316 deletions(-) -- 2.4.1 _______________________________________________ Quagga-dev mailing list [email protected] https://lists.quagga.net/mailman/listinfo/quagga-dev
