summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorLouis Scalbert <louis.scalbert@6wind.com>2023-06-06 12:46:21 +0200
committerLouis Scalbert <louis.scalbert@6wind.com>2023-06-16 14:18:25 +0200
commit3cc70b02a9e19a364f3144031f27f3e50f128c0c (patch)
tree25ba00172506af660b838289d128f75a5c34a1b0 /python
parent59bbe85d4bb0bf11f9c78aa4e7bee5023bc33400 (diff)
bgpd: fix memory usage of vpn no retain
By default, bgpd stores all MPLS VPN SAFI prefixes unless the "no bgp retain route-target all" option is used to store only prefixes that are imported into local VRFs. The "no retain" option temporarily uses too much memory, as all prefixes are stored in memory before the deletion of non-imported prefixes is done. Filter out non-imported prefixes before they are set into the BGP adj RIB out. Fixes: a486300b26 ("bgpd: implement retain route-target all behaviour") Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions