]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_evpn.c
zebra: Handle vni determination for non-vlan-aware bridges
authorSharath Ramamurthy <sramamurthy@nvidia.com>
Tue, 27 Jul 2021 16:20:47 +0000 (21:50 +0530)
committerStephen Worley <sworley@nvidia.com>
Mon, 13 Feb 2023 23:12:04 +0000 (18:12 -0500)
commitfeffe4eea6d4f6e533a9c22917163fa34a2119b6
tree61459464f2280dcded875c5df2470905ccf841ef
parent4a08e69746fd80300b89f0dac93ab5f609c47270
zebra: Handle vni determination for non-vlan-aware bridges

This patch addresses following

- Remove unused VLAN Id parameter when trying to determine the VNI associated
  with a non-VLAN aware bridge. Also, add a check to ensure that in this case,
  we have a per-VNI VXLAN interface. Due to sequence of events, it is possible
  that we may have VLAN-VNI mappings, in which case the code should return
  gracefully.

- With support for a container VXLAN interface that has VLAN-VNI mappings,
  the VXLAN interface itself may be up but a particular VNI might have
  been removed. Ensure that VNI mapping exists before proceeding with
  further processing.

Signed-off-by: Sharath Ramamurthy <sramamurthy@nvidia.com>
zebra/zebra_evpn.c
zebra/zebra_evpn_mh.c
zebra/zebra_vxlan.c
zebra/zebra_vxlan_if.c
zebra/zebra_vxlan_if.h