summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_nssa.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2021-10-07 12:25:43 +0200
committerDonatas Abraitis <donatas.abraitis@gmail.com>2021-10-08 07:56:42 +0200
commitd573b8f8639350cfa1edeec6b8e1cd422008ea77 (patch)
treea0abab9b19e11a7d663ba81194db7463521594b1 /ospf6d/ospf6_nssa.c
parentisisd: Do not explicitly set the thread pointer to NULL (diff)
downloadfrr-d573b8f8639350cfa1edeec6b8e1cd422008ea77.tar.xz
frr-d573b8f8639350cfa1edeec6b8e1cd422008ea77.zip
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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ospf6d/ospf6_nssa.c b/ospf6d/ospf6_nssa.c
index 809768fb5..c2e9b7f28 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");