]> git.puffer.fish Git - matthieu/frr.git/commit
Zebra: Ensure correct route is used for redistribute delete.
authorvivek <vivek@cumulusnetworks.com>
Sun, 15 Nov 2015 15:36:50 +0000 (07:36 -0800)
committervivek <vivek@cumulusnetworks.com>
Sun, 15 Nov 2015 15:36:50 +0000 (07:36 -0800)
commita219b2952ae2f3b47d674d47f48e53c6c1e4bc70
tree678e0d5bfa41c9d2f6bf85e6af519422c758a9e8
parent003c1ba05ab9f3e7e87bd20aa7ced12cadb7298a
Zebra: Ensure correct route is used for redistribute delete.

After the optimization introduced by patch zebra-redist-update-fix.patch
which implements "replace" semantics for redistributed routes instead of
a delete followed by add, the code was passing an incorrect route for
redistribute deletion in one case. This is mainly inconsequential as of
now as the deletion process primarily cares about only the destination, but
the code needs to be corrected and that is done here.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Fixes: zebra-redist-update-fix.patch
Ticket: CM-8112
Reviewed By: CCR-3760
Testing Done: Trivial

Note:
1. Needs changes after IPv6 route replace patches are included.
2. Imported from 2.5-br patch zebra-redist-delete-fix.patch
zebra/zebra_rib.c