Previously bgpd needed to send a withdraw followed by an install
to update an EVPN prefix route. With refcount tracking in zebra
this is no longer needed
Signed-off-by: Christopher Dziomba <christopher.dziomba@telekom.de>
|| new_select->sub_type == BGP_ROUTE_AGGREGATE
|| new_select->sub_type == BGP_ROUTE_IMPORTED)) {
- /* if this is an evpn imported type-5 prefix,
- * we need to withdraw the route first to clear
- * the nh neigh and the RMAC entry.
- */
- if (old_select &&
- is_route_parent_evpn(old_select))
- bgp_zebra_withdraw_actual(dest, old_select, bgp);
-
bgp_zebra_route_install(dest, new_select, bgp, true,
NULL, false);
} else {