diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2023-09-01 17:51:54 +0200 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2023-10-18 09:41:02 +0200 |
| commit | cb86d8e3a4515291f8bbd34a0a32e23f2495a315 (patch) | |
| tree | fcf0b370d9cf17ae54207f7d1c9164bfa75706fa /zebra/label_manager.c | |
| parent | d162d5f6f538e60385290fddf8ed256d2e15f628 (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
