summaryrefslogtreecommitdiff
path: root/zebra/label_manager.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2023-09-01 17:51:54 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2023-10-18 09:41:02 +0200
commitcb86d8e3a4515291f8bbd34a0a32e23f2495a315 (patch)
treefcf0b370d9cf17ae54207f7d1c9164bfa75706fa /zebra/label_manager.c
parentd162d5f6f538e60385290fddf8ed256d2e15f628 (diff)
bgpd: fix label allocation should not be allocated at startup
BGP always asks zebra for a chunk of MPLS label even if it doesn't need it. Fix this by correcting the rounding up "labels_needed" formula. Fixes: 80853c2ec7f8 ("bgpd: improve labelpool performance at scale") Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'zebra/label_manager.c')
0 files changed, 0 insertions, 0 deletions