diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-10-04 18:26:01 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-10-04 18:29:06 +0200 |
commit | f2b64253b8b9fd5029066c5d3b02392f0af1f339 (patch) | |
tree | 1cff8942374b4500e2eaeeb00acc35f546062182 /ospf6d/ospf6_interface.c | |
parent | nhrpd: Do not explicitly set the thread pointer to NULL (diff) | |
download | frr-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.c | 1 |
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); } |