tor/changes
Matt Traudt 3ef7e6f187 sched: Don't get KIST stuck in an infinite loop
When a channel is scheduled and flush cells returns 0 that is no cells to
flush, we flag it back in waiting for cells so it doesn't get stuck in a
possible infinite loop.

It has been observed on moria1 where a closed channel end up in the scheduler
where the flush process returned 0 cells but it was ultimately kept in the
scheduling loop forever. We suspect that this is due to a more deeper problem
in tor where the channel_more_to_flush() is actually looking at the wrong
queue and was returning 1 for an empty channel thus putting the channel in the
"Case 4" of the scheduler which is to go back in pending state thus
re-considered at the next iteration.

This is a fix that allows the KIST scheduler to recover properly from a not
entirelly diagnosed problem in tor.

Fixes #23676

Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-09-29 11:06:31 -04:00
..
.dummy Add a .dummy file in the changes directory to stop git from removing it 2015-05-11 11:41:48 -04:00
18736 Document that .onion subdomains are ignored by clients 2017-09-19 09:26:54 -04:00
bug21800 Capture "Result does not fit in tor_timegm()" warnings in util tests 2017-09-21 15:32:16 -04:00
bug22109 Unit test to make sure that our platform string is parseable 2017-09-20 10:10:02 -04:00
bug22805 Stop using CREATE_FAST as a signifier of clienthood. 2017-09-22 08:57:45 -04:00
bug23080 Warn on ExtORPort USERADDR that is missing or 0. 2017-09-20 08:50:49 -04:00
bug23159 fix the changes file 2017-09-26 14:51:35 -04:00
bug23537 sched: Allow the new sched to react to new cons 2017-09-19 19:07:48 -04:00
bug23539 sched: Make KISTSchedRunInterval non negative 2017-09-25 11:11:30 -04:00
bug23551 Better error handling when trying to compress/decompress into empty buffer. 2017-09-28 20:17:41 +02:00
bug23552 sched: only log when scheduler type changes 2017-09-22 08:51:22 -04:00
bug23566 tests: fix transproxy tests on BSD systems 2017-09-19 19:20:55 -04:00
bug23568 changes file for bug23568 2017-09-20 09:45:03 -04:00
bug23575 fix a lintchanges problem 2017-09-19 10:03:32 -04:00
bug23580 doc: Add version 3 to HiddenServiceVersion man page entry 2017-09-19 08:39:43 -04:00
bug23581 check-changes fix 2017-09-21 17:34:47 -04:00
bug23606 Use correct sign for state file clock skew 2017-09-20 18:50:39 -05:00
bug23607 Avoid assertion failure for state file clock skew 2017-09-20 18:54:37 -05:00
bug23608 Bug 23608: Mock time for all channelpadding tests. 2017-09-21 10:36:57 -04:00
bug23610 Fix warning in bug23610 2017-09-21 16:27:09 -04:00
bug23611 Remove wrong config parameter mention from manpage 2017-09-21 13:31:54 -05:00
bug23645 add changes file for 23645 2017-09-26 08:57:10 -04:00
bug23676 sched: Don't get KIST stuck in an infinite loop 2017-09-29 11:06:31 -04:00
bug23690 Clear outbuf_flushlen when we clear a connection's outbuf 2017-09-29 10:00:14 -04:00
bug23690_additional_032 Make some assertions nonfatal to help prevent bug23690 recurrence. 2017-09-29 10:29:33 -04:00
longclaw-ipv6 Remove longclaw's IPv6 address, as it will soon change 2017-09-20 14:48:53 +10:00
ticket18891 Clarify that Address is an IPv4 option only. 2017-09-19 13:06:54 -04:00
ticket19704 Deprecate ReachableDirAddresses and ClientPreferIPv6DirPort 2017-09-12 16:12:15 -04:00
ticket21405 Clarify the term "address" in the manpage 2017-09-19 10:22:35 -04:00
ticket23420 fix changes file 2017-09-25 09:29:11 -04:00
ticket23564 Whoops -- put a changes file in the wrong place :( 2017-09-21 16:29:15 -04:00
ticket23602 When detecting OpenSSL, look for 1.0.1, and in homebrew location 2017-09-20 16:07:19 -04:00
ticket23604 lintchanges fix 2017-09-21 10:42:40 -04:00
ticket23643 changes file for my confparse typechecking fun 2017-09-26 12:25:34 -04:00