summaryrefslogtreecommitdiff
path: root/zebra/rtread_sysctl.c
diff options
context:
space:
mode:
authorSharath Ramamurthy <sramamurthy@nvidia.com>2021-07-27 21:59:00 +0530
committerStephen Worley <sworley@nvidia.com>2023-02-13 18:12:04 -0500
commit9464e5b865a2995e436ce2986f5722921cb83394 (patch)
tree8f34095ac3893bb40922a063764b6b7b256a5991 /zebra/rtread_sysctl.c
parentfeffe4eea6d4f6e533a9c22917163fa34a2119b6 (diff)
zebra: Bug fixes in fdb read for flooded traffic and remote fdb cleanup upon vni removal
This patch addresses following issues, - When the VLAN-VNI mapping is configured via a map and not using individual VXLAN interfaces, upon removal of a VNI ensure that the remote FDB entries are uninstalled correctly. - When VNI configuration is performed using VLAN-VNI mapping (i.e., without individual VXLAN interfaces) and flooded traffic is handled via multicast, the multicast group corresponding to the VNI needs to be explicitly read from the bridge FDB. This is relevant in the case of netlink interface to the kernel and for the scenario where a new VNI is provisioned or comes up. Signed-off-by: Sharath Ramamurthy <sramamurthy@nvidia.com>
Diffstat (limited to 'zebra/rtread_sysctl.c')
-rw-r--r--zebra/rtread_sysctl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/rtread_sysctl.c b/zebra/rtread_sysctl.c
index e80f665799..c8a89b3a55 100644
--- a/zebra/rtread_sysctl.c
+++ b/zebra/rtread_sysctl.c
@@ -88,6 +88,11 @@ void macfdb_read_for_bridge(struct zebra_ns *zns, struct interface *ifp,
{
}
+void macfdb_read_mcast_entry_for_vni(struct zebra_ns *zns,
+ struct interface *ifp, vni_t vni)
+{
+}
+
void macfdb_read_specific_mac(struct zebra_ns *zns, struct interface *br_if,
const struct ethaddr *mac, vlanid_t vid)
{