diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-10-04 19:25:18 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-10-04 19:25:18 +0300 |
| commit | dc4a902689e46717e2f7c34d3546e7b5b78cb3d1 (patch) | |
| tree | ded05cd7901bcf6ef934decfa27fab4884b79002 /ldpd/interface.c | |
| parent | c34d552dd5fe8a6821ec5efee2eb463fe3108424 (diff) | |
ldpd: 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: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'ldpd/interface.c')
| -rw-r--r-- | ldpd/interface.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ldpd/interface.c b/ldpd/interface.c index 3e9f2fa991..5e04eab1b3 100644 --- a/ldpd/interface.c +++ b/ldpd/interface.c @@ -471,7 +471,6 @@ static void if_start_hello_timer(struct iface_af *ia) { thread_cancel(&ia->hello_timer); - ia->hello_timer = NULL; thread_add_timer(master, if_hello_timer, ia, if_get_hello_interval(ia), &ia->hello_timer); } |
