]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_nhg.c
zebra: fix releasing proto-owned singletons
authorStephen Worley <sworley@cumulusnetworks.com>
Sun, 24 May 2020 20:03:01 +0000 (16:03 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Mon, 28 Sep 2020 16:40:59 +0000 (12:40 -0400)
commit3bccc0f5ebd71ac269fc7d9723146f5c32a50705
treee49a01bac5f008393b931d9d82348eaf946e93fd
parentf651b708e0921d9610803a6e42414b058dfdfb56
zebra: fix releasing proto-owned singletons

Fix the releasing of proto-owned singletons from the attribute
hashed table. Proto-owned singleton nexthops are hashed so they
can still be shared therefore they are present in this table
and need to be released when the time comes.

This check was only matching on zebra proto before. Changed
to match IDs in zebra allocated range.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/zebra_nhg.c