]> git.puffer.fish Git - mirror/frr.git/commit
BGP: Do appropriate cleanup on receipt of redistribute update
authorvivek <vivek@cumulusnetworks.com>
Thu, 29 Oct 2015 17:30:45 +0000 (10:30 -0700)
committervivek <vivek@cumulusnetworks.com>
Thu, 29 Oct 2015 17:30:45 +0000 (10:30 -0700)
commitd289687f8b341363597c2f20276181341b4872c4
tree6db78402e496ce52791a6158eee8f78ef33f1350
parent20eb8864bbaf19771502b6c1ed3f1e43186f97eb
BGP: Do appropriate cleanup on receipt of redistribute update

When there is a change to a redistributed route, either an attribute
such as the metric or the route type itself has changed, protocol clients
receive an update of the route instead of a delete and add as a result
of an earlier optimization. The update needs to be handled as an implicit
delete for any existing redistributed route, especially to handle change
in route type.

Signed-off-by: Vivek Venkataraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Ticket: CM-7578
Reviewed By: CCR-3718
Testing Done: Manual verification
Related-to: CM-6768
bgpd/bgp_zebra.c