]> git.puffer.fish Git - mirror/frr.git/commit
eigrpd: Cleanup memory issues on shutdown
authorDonald Sharp <sharpd@nvidia.com>
Mon, 24 Mar 2025 12:07:02 +0000 (08:07 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 24 Mar 2025 15:36:13 +0000 (11:36 -0400)
commitefb2aeae7b0d565f919bcd77345b78a9bd91e297
tree2936d4d76bd210d0ac2de7dcc3c3c4397bf6f0bc
parent95e7f56eec5797a9e6d46d91441d611592b952cf
eigrpd: Cleanup memory issues on shutdown

a) EIGRP was having issues with the prefix created as part
of the topology destination.  Make this just a part of the
topology data structure instead of allocating it.

b) EIGRP was not freeing up any memory associated with
the network table.  Free it.

c) EIGRP was confusing zebra shutdown as part of the deletion
of the last eigrp data structure.  This was inappropriate it
should be part of the `I'm just shutting down`.

d) The QOBJ was not being properly freed, free it.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
13 files changed:
eigrpd/eigrp_dump.c
eigrpd/eigrp_fsm.c
eigrpd/eigrp_interface.c
eigrpd/eigrp_network.c
eigrpd/eigrp_network.h
eigrpd/eigrp_packet.c
eigrpd/eigrp_reply.c
eigrpd/eigrp_structs.h
eigrpd/eigrp_topology.c
eigrpd/eigrp_update.c
eigrpd/eigrp_zebra.c
eigrpd/eigrp_zebra.h
eigrpd/eigrpd.c