]> git.puffer.fish Git - matthieu/frr.git/commit
ripngd: Ensure better `struct thread *` semantics
authorDonald Sharp <sharpd@nvidia.com>
Mon, 4 Oct 2021 13:28:36 +0000 (09:28 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 4 Oct 2021 13:28:36 +0000 (09:28 -0400)
commitc733548963447f4383866f66117fd5e302d53baa
tree2320fb7eef4d8adf4dc097f4808d107953f557e6
parent31df775552690649ab769c57ed796a9de82fa22b
ripngd: Ensure better `struct thread *` semantics

1) Remove `struct thread *` pointers that are never used
2) 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.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
ripngd/ripng_interface.c
ripngd/ripngd.c
ripngd/ripngd.h