diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-10-04 09:36:27 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-10-04 09:36:54 -0400 |
| commit | 64da2e8ecd842759511847a990274616dc05aade (patch) | |
| tree | 437f166ccb31de9d2171c66f10b92381ce46ebc7 /ripd/rip_interface.c | |
| parent | c733548963447f4383866f66117fd5e302d53baa (diff) | |
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>
Diffstat (limited to 'ripd/rip_interface.c')
| -rw-r--r-- | ripd/rip_interface.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c index a2c86e3b22..2eb7bb6da1 100644 --- a/ripd/rip_interface.c +++ b/ripd/rip_interface.c @@ -805,7 +805,6 @@ static int rip_interface_wakeup(struct thread *t) ifp = THREAD_ARG(t); ri = ifp->info; - ri->t_wakeup = NULL; /* Join to multicast group. */ if (rip_multicast_join(ifp, ri->rip->sock) < 0) { |
