]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Remove pointer structure from `struct bgp_dest`
authorDonald Sharp <sharpd@nvidia.com>
Fri, 30 Oct 2020 17:34:30 +0000 (13:34 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 4 Nov 2020 20:18:01 +0000 (15:18 -0500)
commit26742171e6ba292a9fd2a72668315d2a699717b5
tree37aba12cebe28eeef7ee69e95d0388e7620ceaae
parent9535a960a88e281a921922668588d7b762742f6a
bgpd: Remove pointer structure from `struct bgp_dest`

The `struct listnode *rt_node` data structure is adding
8 bytes of size to the `struct bgp_dest`.  This is a large
amount of data for a flag we are already setting on each
node for this.  Just set the flag and use that to figure
out who we are doing graceful restart on.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_route.c
bgpd/bgp_table.c
bgpd/bgp_table.h
bgpd/bgpd.c
bgpd/bgpd.h