]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: reduce struct attr_extra allocations/freeing
authorJorge Boncompte [DTI2] <jorge@dti2.net>
Mon, 7 May 2012 16:53:05 +0000 (16:53 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 22 May 2012 18:25:50 +0000 (20:25 +0200)
commit558d1fec11749d3257e32561d45b5c1ec0622cf4
tree4570b1643db6446dc9f14f9c0bf7fd64a3325117
parent489d005a9ad94675f40dc7bceff6176cfad36d45
bgpd: reduce struct attr_extra allocations/freeing

Try to use on stack structs for temporary uses.

Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
bgpd/bgp_attr.c
bgpd/bgp_route.c