summaryrefslogtreecommitdiff
path: root/tests/topotests/pim_basic_topo2/test_pim_basic_topo2.py
diff options
context:
space:
mode:
authorStephen Worley <sworley@nvidia.com>2021-04-22 17:21:12 -0400
committerStephen Worley <sworley@nvidia.com>2021-04-22 17:25:15 -0400
commitdc65cd999d85bcbd356997a112feecddce441620 (patch)
tree295db0c361821f9cd13eb2ab7f118bfed3c9f055 /tests/topotests/pim_basic_topo2/test_pim_basic_topo2.py
parent45691de9a0a806dc67d4304044667f05a8caef09 (diff)
zebra: handle gracefulRS/retain with proto NHGs
Properly handle refcounting of Proto-owned NHGs when zebra is operating under graceful restart and retain conditions. We have an extra refcnt of 1 we keep for proto-owned NHGs to indicate the upper level proto has created and owns it. When we are reading these in from the kernel, we need to set them to 1 as appropriate. Without this, we fail in the assert() during zebra_nhg_proto_add() after the owning daemons resends the NHG and the refcnts are off by one. Also add in the same logic we use for routes when sweeping with respect to uptimes. Signed-off-by: Stephen Worley <sworley@nvidia.com>
Diffstat (limited to 'tests/topotests/pim_basic_topo2/test_pim_basic_topo2.py')
0 files changed, 0 insertions, 0 deletions