diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-10-04 19:24:28 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-10-04 19:24:28 +0300 |
| commit | 876968a6104133c9964ecad376175baf463c86ff (patch) | |
| tree | 68ee3bf9f0059927217ee35764874fd2998f0bdf /bfdd/control.c | |
| parent | 510404d9f351741449ae81b1102127b6c465e471 (diff) | |
bfdd: 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 'bfdd/control.c')
| -rw-r--r-- | bfdd/control.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bfdd/control.c b/bfdd/control.c index 4929bf1998..e772aadfc4 100644 --- a/bfdd/control.c +++ b/bfdd/control.c @@ -167,7 +167,6 @@ int control_accept(struct thread *t) control_new(csock); - bglobal.bg_csockev = NULL; thread_add_read(master, control_accept, NULL, sd, &bglobal.bg_csockev); return 0; |
