summaryrefslogtreecommitdiff
path: root/src/lib/random.c
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2022-03-13 17:47:10 +0100
committerSander Vrijders <[email protected]>2022-03-16 13:11:14 +0100
commit5ec6b4bea3f14a74bfcbba833708e2e455bef237 (patch)
tree810804fad282209d08cd639609b56ca5cc322903 /src/lib/random.c
parentf300e609e7975dacc06996d407170fe58aa49439 (diff)
downloadouroboros-5ec6b4bea3f14a74bfcbba833708e2e455bef237.tar.gz
ouroboros-5ec6b4bea3f14a74bfcbba833708e2e455bef237.zip
lib: Fix retransmission scheduling
There still were a couple of bugs in the timerwheel. If the future schedule was coinciding with the slot currently being processed (i.e. exactly RXMQ_SLOTS in the future), the list_add_tail caused an infinite loop. Another bug was causing the slots at higher levels to be processed too soon. Retransmissions should now schedule correctly. Signed-off-by: Dimitri Staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/lib/random.c')
0 files changed, 0 insertions, 0 deletions