mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
97702c69b0
In the KIST main loop, if the channel happens to be not opened, set its state
to IDLE so we can release it properly later on. Prior to this fix, the channel
was in PENDING state, removed from the channel pending list and then kept in
that state because it is not opened.
This bug was introduced in commit dcabf801e5
for
which we made the scheduler loop not consider unopened channel.
This has no consequences on tor except for an annoying but harmless BUG()
warning.
Fixes #24502
Signed-off-by: David Goulet <dgoulet@torproject.org>
5 lines
232 B
Plaintext
5 lines
232 B
Plaintext
o Minor bugfixes (scheduler):
|
|
- Properly set the scheduler state of an unopened channel in the KIST
|
|
scheduler main loop. This prevents a harmless but annoying log warning.
|
|
Fixes bug 24502; bugfix on 0.3.2.4-alpha.
|