mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 17:40:04 +00:00
zebra: Eliminate use of imported arp entries as next-hops for other routes
Ticket: CM-8228 Signed-off-by: Donald Slice Reviewed By: Testing Done: Manual testing succesful. bgp-min and ospf-smoke successful. redistribute-neighbor-smoke has the same failures as the base image. Problem was due to considering imported /32 arp entries as elible next-hops for other routes (in this case a static route.) This confuses the rib since this next-hop is considered both recursive and onlink. Disallowed the use of this imported arp entry in next-hop determination.
This commit is contained in:
parent
7fb21a9f98
commit
633e504d0a
@ -405,6 +405,10 @@ nexthop_active_ipv4 (struct rib *rib, struct nexthop *nexthop, int set,
|
||||
{
|
||||
if (CHECK_FLAG (match->status, RIB_ENTRY_REMOVED))
|
||||
continue;
|
||||
|
||||
/* if the next hop is imported from another table, skip it */
|
||||
if (match->type == ZEBRA_ROUTE_TABLE)
|
||||
continue;
|
||||
if (CHECK_FLAG (match->flags, ZEBRA_FLAG_SELECTED))
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user