]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: release label to labelpool on dereg
authorPat Ruddy <pat@voltanet.io>
Thu, 17 Dec 2020 10:49:30 +0000 (10:49 +0000)
committerPat Ruddy <pat@voltanet.io>
Mon, 4 Jan 2021 14:29:44 +0000 (14:29 +0000)
commit78b351ddcd96640e5a0aeb4c8e3baf65a0e67fc2
treeecb52d29e637f09d7315020eec1cd085fb9e9c62
parent992dd67ec76de375b967b408c26f9c9f9e0608c5
bgpd: release label to labelpool on dereg

when we de-register for a label associated with a prefix then release
it back to the labelpool to clean up the stale reference held in the
ledger and inuse lists.

Signed-off-by: Pat Ruddy <pat@voltanet.io>
bgpd/bgp_label.c