summaryrefslogtreecommitdiff
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-09-25 18:39:37 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-11-16 09:43:35 -0500
commitaaafc3216727276a6daf5f2fc5a050b5601e1eb3 (patch)
tree526c3358dcd9e65b2d21de5fe17c9a7cdd8a2a42 /lib/lib_errors.c
parenteb9125b3a21bec6331ae6ebce407120d22b17e2f (diff)
bgpd: Reduce size of 'struct bgp_node' by 8 bytes
The ordering of data within the `struct bgp_node` was causing extra padding of data. Moving the version to a bit different spot allows for more efficient packing of data. Pre-change: (gdb) p sizeof(struct bgp_node) $1 = 152 (gdb) Post-change: (gdb) p sizeof(struct bgp_node) $1 = 144 (gdb) Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions