summaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorJorge Boncompte [DTI2] <jorge@dti2.net>2012-05-07 15:17:33 +0000
committerDavid Lamparter <equinox@opensourcerouting.org>2013-01-14 14:43:51 +0100
commit24e50f2013e64a73b1f7ecdbd5688360002d09f7 (patch)
tree3c53b418e2f91f703ee79fd4b224e157b25218b3 /ports
parentebbb5fca5ca899a9a125aa2770d3fdf857186bac (diff)
bgpd: avoid heap fragmentation in bgp_clear_route_table
In bgp_clear_route_table, moved cleanup code before the allocation of the work queue items. This returns the memory to the system allocator before allocating new and might therefore help avoiding heap fragmentation. * bgp_route.c: (bgp_clear_route_table) moved code blocks. Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net> Reviewed-by: Leonid Rosenboim <Leonid.Rosenboim@windriver.com> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ports')
0 files changed, 0 insertions, 0 deletions