]> git.puffer.fish Git - mirror/frr.git/commit
zebra: use nexthop instead of route vrf_id for EVPN
authorChristopher Dziomba <christopher.dziomba@telekom.de>
Sat, 26 Apr 2025 18:10:37 +0000 (20:10 +0200)
committerChristopher Dziomba <christopher.dziomba@telekom.de>
Sat, 26 Apr 2025 18:10:37 +0000 (20:10 +0200)
commitec06de8403f932b13cec1244b8da636f0fc720c9
treed6bef89a29f64be4f7c437bc6db4d186a61b2380
parent083893dfbb1847e5a700eafe9cb650728e1b48cd
zebra: use nexthop instead of route vrf_id for EVPN

Today zebra tracks EVPN vtep_ips in the L3-VNI of the route_entry.
Leaking routes in bgpd and using different RMACs on the remote side
for different L3-VNIs for a single VTEP leads to updates in the leak
destination VRF which is not desired. Zebra gets the source VRF in
vrf_id of the nexthops. This nexthop vrf_id is now used for adding/
updating/deleting the l3vni nexthop.

Signed-off-by: Christopher Dziomba <christopher.dziomba@telekom.de>
zebra/zebra_rib.c