mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-09 18:09:00 +00:00
zebra: force off kernel NHG install with netns VRFs
Force off kernel NHG install with netns-based VRFs for now. There is not really a good solution for allowing kernel nexthop groups in namespaced based vrfs. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
This commit is contained in:
parent
af6642f0e7
commit
d982012a0e
@ -93,7 +93,8 @@ static struct in_addr ipv4_ll;
|
|||||||
/* Helper to control use of kernel-level nexthop ids */
|
/* Helper to control use of kernel-level nexthop ids */
|
||||||
static bool kernel_nexthops_supported(void)
|
static bool kernel_nexthops_supported(void)
|
||||||
{
|
{
|
||||||
return (supports_nh && zebra_nhg_kernel_nexthops_enabled());
|
return (supports_nh && !vrf_is_backend_netns()
|
||||||
|
&& zebra_nhg_kernel_nexthops_enabled());
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user