diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-10-04 19:25:43 +0300 | 
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-10-04 19:29:06 +0300 | 
| commit | 56fb2134937086781e73de7490296b01414e0fe9 (patch) | |
| tree | 6250a0b5af3caaa641df1ba46e7dde0bf35463af /nhrpd/nhrp_multicast.c | |
| parent | dc4a902689e46717e2f7c34d3546e7b5b78cb3d1 (diff) | |
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 b78afda2c4..339b6dfabe 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) {  | 
