diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-10-07 13:25:43 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-10-08 08:56:42 +0300 |
| commit | d573b8f8639350cfa1edeec6b8e1cd422008ea77 (patch) | |
| tree | a0abab9b19e11a7d663ba81194db7463521594b1 /ospf6d/ospf6_nssa.c | |
| parent | ae84497d13b2970febfa71b45b6d4b021bb27804 (diff) | |
ospf6d: 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 'ospf6d/ospf6_nssa.c')
| -rw-r--r-- | ospf6d/ospf6_nssa.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ospf6d/ospf6_nssa.c b/ospf6d/ospf6_nssa.c index 809768fb5c..c2e9b7f28a 100644 --- a/ospf6d/ospf6_nssa.c +++ b/ospf6d/ospf6_nssa.c @@ -1168,8 +1168,6 @@ static int ospf6_abr_task_timer(struct thread *thread) { struct ospf6 *ospf6 = THREAD_ARG(thread); - ospf6->t_abr_task = NULL; - if (IS_OSPF6_DEBUG_ABR) zlog_debug("Running ABR task on timer"); |
