diff options
author | Donald Sharp <sharpd@nvidia.com> | 2022-06-03 16:31:04 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2022-07-21 14:27:35 +0200 |
commit | bc1f09de739fa80b3a6ea37cfc9fcdd3dfd8abb8 (patch) | |
tree | bfd2f0fc4bc252738ee77532d84f99c2c9ce6ca3 /ospfd/ospf_packet.c | |
parent | ospfd: Remove various macros that overlap THREAD_OFF (diff) | |
download | frr-bc1f09de739fa80b3a6ea37cfc9fcdd3dfd8abb8.tar.xz frr-bc1f09de739fa80b3a6ea37cfc9fcdd3dfd8abb8.zip |
ospfd: Convert thread_cancel to THREAD_OFF
Just convert all uses of thread_cancel to THREAD_OFF.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ospfd/ospf_packet.c')
-rw-r--r-- | ospfd/ospf_packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c index d2ade9f11..4b3f30a3f 100644 --- a/ospfd/ospf_packet.c +++ b/ospfd/ospf_packet.c @@ -466,7 +466,7 @@ static void ospf_ls_req_timer(struct thread *thread) void ospf_ls_req_event(struct ospf_neighbor *nbr) { - thread_cancel(&nbr->t_ls_req); + THREAD_OFF(nbr->t_ls_req); thread_add_event(master, ospf_ls_req_timer, nbr, 0, &nbr->t_ls_req); } |