]> git.puffer.fish Git - matthieu/frr.git/commit
ripd: Ensure better `struct thread *` semantics
authorDonald Sharp <sharpd@nvidia.com>
Mon, 4 Oct 2021 13:36:27 +0000 (09:36 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 4 Oct 2021 13:36:54 +0000 (09:36 -0400)
commit64da2e8ecd842759511847a990274616dc05aade
tree437f166ccb31de9d2171c66f10b92381ce46ebc7
parentc733548963447f4383866f66117fd5e302d53baa
ripd: Ensure better `struct thread *` semantics

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>
ripd/rip_interface.c
ripd/rip_peer.c
ripd/ripd.c