]> git.proxmox.com Git - mirror_frr.git/commit - eigrpd/eigrp_filter.c
eigrpd: Ensure better `struct thread *` semantics
authorDonald Sharp <sharpd@nvidia.com>
Mon, 4 Oct 2021 13:47:29 +0000 (09:47 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 4 Oct 2021 13:47:29 +0000 (09:47 -0400)
commiteb946ef5052e7aaddc1975f7a8a287d439e0ee29
tree138e6ac681e01bead4cf20bfa75c08d26c5332ae
parent64da2e8ecd842759511847a990274616dc05aade
eigrpd: Ensure better `struct thread *` semantics

1) Do not explicitly set the thread pointer to NULL.
FRR should only ever use the appropriate THREAD_ON/THREAD_OFF
semantics.  This is espacially true for the functions we
end up calling the thread for.

2) Fix mixup of `struct eigrp_interface` and `struct eigrp`
usage of the same thread pointer.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
eigrpd/eigrp_filter.c
eigrpd/eigrp_hello.c
eigrpd/eigrp_interface.c
eigrpd/eigrp_packet.c
eigrpd/eigrp_update.c
eigrpd/eigrpd.c