summaryrefslogtreecommitdiff
path: root/ospfd/ospf_lsa.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-07-22 08:26:08 +0300
committerGitHub <noreply@github.com>2022-07-22 08:26:08 +0300
commiteed5b70f94b51c05bdbcebf39ade792213fd124b (patch)
tree82932e6c0215ec11400b2b9e7efd911d7880d285 /ospfd/ospf_lsa.c
parentcb6c39645fae5211bd15b43a1b7879fb4c4b308c (diff)
parent2783a6921c8fd3917caa539df82e0d9f2a23eb0c (diff)
Merge pull request #11657 from donaldsharp/why_timer
convert thread_cancel to THREAD_OFF
Diffstat (limited to 'ospfd/ospf_lsa.c')
-rw-r--r--ospfd/ospf_lsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c
index 39330fb926..2c2ddd4394 100644
--- a/ospfd/ospf_lsa.c
+++ b/ospfd/ospf_lsa.c
@@ -3625,7 +3625,7 @@ void ospf_flush_self_originated_lsas_now(struct ospf *ospf)
* without conflicting to other threads.
*/
if (ospf->t_maxage != NULL) {
- OSPF_TIMER_OFF(ospf->t_maxage);
+ THREAD_OFF(ospf->t_maxage);
thread_execute(master, ospf_maxage_lsa_remover, ospf, 0);
}