mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 20:13:53 +00:00
zebra: Better handle replacing our route by a system route
When a operator has a FRR based route installed into the FIB and a better route comes in from the system. There is code in the data plane to schedule the batching and continue processing. But in this case we are done so we can just return Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
457fb2c846
commit
6b390b3c7b
@ -2702,7 +2702,7 @@ netlink_put_route_update_msg(struct nl_batch *bth, struct zebra_dplane_ctx *ctx)
|
||||
*/
|
||||
if (RSYSTEM_ROUTE(dplane_ctx_get_type(ctx))
|
||||
&& !RSYSTEM_ROUTE(dplane_ctx_get_old_type(ctx)))
|
||||
netlink_batch_add_msg(
|
||||
return netlink_batch_add_msg(
|
||||
bth, ctx, netlink_delroute_msg_encoder,
|
||||
true);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user