]> git.puffer.fish Git - mirror/frr.git/commit
zebra: add vtep_ip to rmac nh_list in all cases
authorChristopher Dziomba <christopher.dziomba@telekom.de>
Thu, 17 Apr 2025 08:41:06 +0000 (10:41 +0200)
committerChristopher Dziomba <christopher.dziomba@telekom.de>
Tue, 22 Apr 2025 15:22:43 +0000 (17:22 +0200)
commit0c14dd3af605efd9fafbf224069806ed5ff03d02
treeca56ed0cf30c5cf42614b339ef5941bbcde66cc5
parentdeb473ff1d0fc04415c9c3b4cc70e58029cc24ca
zebra: add vtep_ip to rmac nh_list in all cases

zebra rmac has a nh_list which tracks the assigned VTEP IPs to RMACs.
It can also receive IPv6 encoded IPv4 addresses as VTEPs. Changing/
Installing the RMAC into the Kernel is only important when the IPv4
address changes. However because nh_list is a nodup list used to
track usage or RMACs by VTEP IPs, both IP addresses (IPv4 and IPv6
encoded IPv4) should be written into it, as both could be removed
in l3vni_rmac_nh_list_nh_delete independently.

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