diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2025-01-28 17:11:58 +0200 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2025-01-28 17:11:58 +0200 |
| commit | f373f41445ee30cab16fbd60cb2b7202d801bf12 (patch) | |
| tree | ce6df30250aee3d2d9d8a1a0beb2c6b371cef71d /lib/flex_algo.h | |
| parent | ee67699bd7e0175057ffab4c8c30c74b6c7cc844 (diff) | |
bgpd: Do not ignore auto generated VRF instances when deleting
When VRF instance is going to be deleted inside bgp_vrf_disable(), it uses
a helper method that skips auto created VRF instances and that leads to STALE
issue.
When creating a VNI for a particular VRF vrfX with e.g. `advertise-all-vni`,
auto VRF instance is created, and then we do `router bgp ASN vrf vrfX`.
But when we do a reload bgp_vrf_disable() is called, and we miss previously
created auto instance.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'lib/flex_algo.h')
0 files changed, 0 insertions, 0 deletions
