]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: Cleanup oi->obuf to always be created
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 30 Aug 2019 20:14:38 +0000 (16:14 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 30 Aug 2019 20:48:07 +0000 (16:48 -0400)
commit36a106e0e4e4fd787df2277c35df448131fb6b77
tree28746e796597fe51b039ff6040df0438a74d16b7
parent7cec50a53390d2739cf7f1a14a29c47e0400085f
ospfd: Cleanup oi->obuf to always be created

This looks like a finish up of the partial cleanup that
ocurred at some point in time in the past.  When we
alloc oi also always alloc the oi->obuf.  When we delete
oi always delete the oi->obuf right before.

This cleans up a bunch of code to be simpler and hopefully
easier to follow.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ospfd/ospf_interface.c
ospfd/ospf_interface.h
ospfd/ospf_packet.c