]> git.proxmox.com Git - mirror_frr.git/commitdiff
zebra: Force off kernel nexthop group API for now
authorStephen Worley <sworley@cumulusnetworks.com>
Wed, 28 Aug 2019 20:15:17 +0000 (16:15 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:43 +0000 (11:13 -0400)
Force off kernel nexthop group API for now. Will re-enable
after suffient testing.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/rt_netlink.c

index 18d1eee9e366325f0da7446eeccd33fe1eda5ce7..f6267050853a565abb968463e5d2f68c1b2104da 100644 (file)
@@ -2449,6 +2449,7 @@ int netlink_nexthop_change(struct nlmsghdr *h, ns_id_t ns_id, int startup)
        return 0;
 }
 
+#if 0 /* Force off kernel nexthop group installs for now */
 /**
  * netlink_request_nexthop() - Request nextop information from the kernel
  * @zns:       Zebra namespace
@@ -2474,6 +2475,7 @@ static int netlink_request_nexthop(struct zebra_ns *zns, int family, int type)
        return netlink_request(&zns->netlink_cmd, &req.n);
 }
 
+
 /**
  * netlink_nexthop_read() - Nexthop read function using netlink interface
  *
@@ -2506,6 +2508,12 @@ int netlink_nexthop_read(struct zebra_ns *zns)
 
        return ret;
 }
+#else
+int netlink_nexthop_read(struct zebra_ns *zns)
+{
+       return 0;
+}
+#endif
 
 
 int kernel_neigh_update(int add, int ifindex, uint32_t addr, char *lla,