]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: don't use if_lookup_by_name_all_vrf
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 14 Oct 2021 18:06:38 +0000 (21:06 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Fri, 15 Oct 2021 00:42:52 +0000 (03:42 +0300)
commitde4f1a66fbdd368baab4ba3a517d253e5ec6da1e
tree77fd048d4292c53be8f2d81b1bc36a3158dd5257
parent33fc8bc7f30646fa7a4cee324d26e6979aa60400
bgpd: don't use if_lookup_by_name_all_vrf

if_lookup_by_name_all_vrf doesn't work correctly with netns VRF backend
as the same index may be used in multiple netns simultaneously.

Use the appropriate VRF when looking for the interface.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
bgpd/bgp_routemap.c
bgpd/bgp_zebra.c