[tor-bugs] #22812 [Core Tor/Tor]: find_dl_min_and_max_delay's DL_SCHED_DETERMINISTIC case is never used

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 4 14:54:34 UTC 2017


#22812: find_dl_min_and_max_delay's DL_SCHED_DETERMINISTIC case is never used
-------------------------+-------------------------------------------------
     Reporter:  teor     |      Owner:
         Type:  defect   |     Status:  new
     Priority:  Medium   |  Milestone:  Tor: 0.3.2.x-final
    Component:  Core     |    Version:  Tor: 0.2.9.5-alpha
  Tor/Tor                |   Keywords:  easy code-simplification technical-
     Severity:  Normal   |  debt mostly-harmless
Actual Points:           |  Parent ID:
       Points:  0.5      |   Reviewer:
      Sponsor:           |
-------------------------+-------------------------------------------------
 find_dl_min_and_max_delay is never called with DL_SCHED_DETERMINISTIC
 schedules. So we should just remove that case entirely. And replace it
 with a BUG() return.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22812>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list