summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_interface.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2021-10-04 18:26:01 +0200
committerDonatas Abraitis <donatas.abraitis@gmail.com>2021-10-04 18:29:06 +0200
commitf2b64253b8b9fd5029066c5d3b02392f0af1f339 (patch)
tree1cff8942374b4500e2eaeeb00acc35f546062182 /ospf6d/ospf6_interface.c
parentnhrpd: Do not explicitly set the thread pointer to NULL (diff)
downloadfrr-f2b64253b8b9fd5029066c5d3b02392f0af1f339.tar.xz
frr-f2b64253b8b9fd5029066c5d3b02392f0af1f339.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_interface.c')
-rw-r--r--ospf6d/ospf6_interface.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c
index b63a3c02d..a3eb1445f 100644
--- a/ospf6d/ospf6_interface.c
+++ b/ospf6d/ospf6_interface.c
@@ -819,7 +819,6 @@ int interface_up(struct thread *thread)
/* Schedule Hello */
if (!CHECK_FLAG(oi->flag, OSPF6_INTERFACE_PASSIVE)
&& !if_is_loopback_or_vrf(oi->interface)) {
- oi->thread_send_hello = NULL;
thread_add_event(master, ospf6_hello_send, oi, 0,
&oi->thread_send_hello);
}