summaryrefslogtreecommitdiff
path: root/lib/workqueue.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-12 10:38:37 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-06-12 15:12:48 -0400
commitc93a3b77e66ae60d618297eadb6319c519a22ee4 (patch)
treece7961bb94de770d1067062d20d6e38b8b945f9c /lib/workqueue.c
parentefb02f8814049664caa7a824652defcfb3b4f2b1 (diff)
bgpd: Move extra free code and fix a bug.
The bgp_info_extra_free code was the correct place to free up data associated with the bgp_info pointer when we are deleting the bgp_info node. Additionally, if we have a parent pointer, we may not have a net pointer. So make sure we do. Finally clean up the bgp_info_extra_free code so it is a bit easier to read. Use variables instead of multiple level of casting. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/workqueue.c')
0 files changed, 0 insertions, 0 deletions