]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bgpd, zebra: fix struct/pointer sizeof mixups
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 3 Mar 2015 07:54:54 +0000 (08:54 +0100)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 7 Jun 2016 12:56:14 +0000 (08:56 -0400)
Two places were taking sizeof(pointer) instead of the sizeof(struct),
while performing operations on the struct.  Both are initialisation
functions;  I guess we haven't seen fallout since they weren't critical.
Fix anyway.

[v2: fix mistake that actually broke bgpd RS workqueue init]
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit d43f8b39b075fe60e0c8fdb33b07b284d3fae503)


No differences found