diff options
author | Donald Sharp <sharpd@nvidia.com> | 2025-01-09 21:26:46 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2025-01-10 15:35:35 +0100 |
commit | 4c166947a8bf979ad12826f547fea4dad6933a6e (patch) | |
tree | b6d944d66390da49aabb0dfedaa2791d07b1b692 /lib/affinitymap_northbound.c | |
parent | Merge pull request #17813 from enkechen-panw/aigp-fix6 (diff) | |
download | frr-4c166947a8bf979ad12826f547fea4dad6933a6e.tar.xz frr-4c166947a8bf979ad12826f547fea4dad6933a6e.zip |
zebra: Uninstall NHG in some situations
If you have this series of events:
a) Decision to install a NHG is made in zebra, enqueue to DPLANE
b) Changes to NHG are made and we remove it in the master pthread
Since this NHG is not marked as installed it is not removed
but the NHG data structure is deleted
c) DPLANE installs the NHG
In the end the NHG stays installed but ZEBRA has lost track of it.
Modify the removal code to check to see if the NHG is queued.
There are 2 cases:
a) NHG is kept around for a bit before being deleted. In this case
just see that the NHG is Queued and keep it around too.
b) NHG is not kept around and we are just removing it. In this case
check to see if it is queued and send another deletion event.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/affinitymap_northbound.c')
0 files changed, 0 insertions, 0 deletions