aboutsummaryrefslogtreecommitdiff
path: root/src/or/scheduler_kist.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-01-31 13:46:31 -0500
committerDavid Goulet <dgoulet@torproject.org>2018-01-31 13:46:31 -0500
commitadaf3e9b89f62d68ab631b8f672d9bff996689b9 (patch)
tree7cbdb2bccdadf37fd897b7623d3292f0156bed8f /src/or/scheduler_kist.c
parentdf312b3cf637d2c5487adc60ed541823bef56f06 (diff)
downloadtor-adaf3e9b89f62d68ab631b8f672d9bff996689b9.tar.gz
tor-adaf3e9b89f62d68ab631b8f672d9bff996689b9.zip
sched: Avoid adding the same channel twice to the KIST pending list
This is the quick fix that is keeping the channel in PENDING state so if we ever try to reschedule the same channel, it won't happened. Fixes #24700 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/scheduler_kist.c')
-rw-r--r--src/or/scheduler_kist.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/scheduler_kist.c b/src/or/scheduler_kist.c
index f50f3aa9e9..7b5d138be1 100644
--- a/src/or/scheduler_kist.c
+++ b/src/or/scheduler_kist.c
@@ -693,7 +693,6 @@ kist_scheduler_run(void)
* after the scheduling loop is over. They can hopefully be taken care of
* in the next scheduling round.
*/
- chan->scheduler_state = SCHED_CHAN_WAITING_TO_WRITE;
if (!to_readd) {
to_readd = smartlist_new();
}