]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: fix attempt to install a second rib from imported table entries
authorDon Slice <dslice@cumulusnetworks.com>
Fri, 21 Apr 2017 18:18:42 +0000 (11:18 -0700)
committerDon Slice <dslice@cumulusnetworks.com>
Wed, 26 Apr 2017 14:25:12 +0000 (14:25 +0000)
commit47301614a9939f7aaa4c98be6450497b2a717bbe
tree7d393533a1e767d0774c5322595a142df1e715b5
parent72c62cb803d8b79a2627cd7d8d25a0f801423c49
zebra: fix attempt to install a second rib from imported table entries

Problem reported by a customer with prefix imported by rdnbrd not being
successfully installed in the quagga rib.  Determined that this was due
to VRR resolving the same arp entry, causing two entries to be installed
in table 10.  When these were imported into the quagga rib, they came in
as two different rib entries from the same table/instance, which is not
permitted and caused them to be deleted.

Added logic to zebra_add_import_table_entry to do the same actions as
rib_add and delete the older rib entry if a new rib entry is received
which matches.

Manual testing successful and automated tests for redistribute neighbor
have the same passes and failures as the base.

Ticket: CM-15926
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by:
zebra/redistribute.c