aboutsummaryrefslogtreecommitdiff
path: root/changes/bug24502
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-12-04 14:48:15 -0500
committerDavid Goulet <dgoulet@torproject.org>2017-12-04 14:48:15 -0500
commit97702c69b03b19a8a6f867e56f716ce984550fa0 (patch)
tree8c42b6ba3a1b50241a7f131abf3e48879bf3db7c /changes/bug24502
parenta5be2305e1217e58f355a690af96c8953a34023e (diff)
downloadtor-97702c69b03b19a8a6f867e56f716ce984550fa0.tar.gz
tor-97702c69b03b19a8a6f867e56f716ce984550fa0.zip
sched: Set channel scheduler state to IDLE when not opened
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 dcabf801e52a83e2c3cc23ccc1fa906582a927d6 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>
Diffstat (limited to 'changes/bug24502')
-rw-r--r--changes/bug245024
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug24502 b/changes/bug24502
new file mode 100644
index 0000000000..3fa6fb58dd
--- /dev/null
+++ b/changes/bug24502
@@ -0,0 +1,4 @@
+ 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.