diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-10-04 18:25:43 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-10-04 18:29:06 +0200 |
commit | 56fb2134937086781e73de7490296b01414e0fe9 (patch) | |
tree | 6250a0b5af3caaa641df1ba46e7dde0bf35463af /nhrpd/nhrp_multicast.c | |
parent | ldpd: Do not explicitly set the thread pointer to NULL (diff) | |
download | frr-56fb2134937086781e73de7490296b01414e0fe9.tar.xz frr-56fb2134937086781e73de7490296b01414e0fe9.zip |
nhrpd: 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 'nhrpd/nhrp_multicast.c')
-rw-r--r-- | nhrpd/nhrp_multicast.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nhrpd/nhrp_multicast.c b/nhrpd/nhrp_multicast.c index b78afda2c..339b6dfab 100644 --- a/nhrpd/nhrp_multicast.c +++ b/nhrpd/nhrp_multicast.c @@ -149,7 +149,6 @@ static int netlink_mcast_log_recv(struct thread *t) struct zbuf payload, zb; struct nlmsghdr *n; - netlink_mcast_log_thread = NULL; zbuf_init(&zb, buf, sizeof(buf), 0); while (zbuf_recv(&zb, fd) > 0) { |