]> git.puffer.fish Git - mirror/frr.git/commit
zebra: label manager should never return a reserved block
authorPat Ruddy <pat@voltanet.io>
Wed, 9 Dec 2020 10:23:44 +0000 (10:23 +0000)
committerPat Ruddy <pat@voltanet.io>
Mon, 4 Jan 2021 14:29:44 +0000 (14:29 +0000)
commit3c844979431822386bcc2c8728a83513528675b2
treee14073149bed23d6ba89b58c399b2ccb93123376
parent331bd0ebad60cee233eb5c95c658fda67cd45bb9
zebra: label manager should never return a reserved block

if the requested chunk size was less than 16 then a chunk
within the reserved block would be returned. Make sure that
we never return labels that are below MPLS_LABEL_UNRESERVED_MIN

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