]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_vrf.c
zebra/ospf/ospf6: Fix several memory leaks on if up/down
authorDon Slice <dslice@cumulusnetworks.com>
Mon, 27 Jun 2016 11:34:32 +0000 (04:34 -0700)
committerDon Slice <dslice@cumulusnetworks.com>
Tue, 28 Jun 2016 11:52:38 +0000 (04:52 -0700)
commit3f6d6a5db80fd465e15383ee96867153578fc316
tree24309bf26544f8828d22707362df4a7270f56e14
parent83d8ff0074871c557555cd8448bb8cf1b0e6f923
zebra/ospf/ospf6: Fix several memory leaks on if up/down

Resolved several memory leaks caused by ifdown/ifup the vrf device or
a swp port.  For bgp/zebra/ospf/ospf6, bouncing the vrf device would cause
a linked list, Interface, and route-table to get leaked.  For ospf6,
bouncing the swp device also caused leaks of Connected and Prefix entries.

Ticket: CM-10841
Signed-off-by: Don Slice
Reviewed-By: Donald Sharp
Testing Done: Manual testing, bgp and ospf mins passed, smokes had fewer failures than base
lib/if.c
lib/vrf.c
ospf6d/ospf6_spf.c
ospf6d/ospf6_zebra.c
zebra/interface.c
zebra/rt_netlink.c
zebra/zebra_vrf.c