diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2022-03-13 17:47:10 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2022-03-16 13:11:14 +0100 |
commit | 5ec6b4bea3f14a74bfcbba833708e2e455bef237 (patch) | |
tree | 810804fad282209d08cd639609b56ca5cc322903 /src/tools/irm/irm_utils.c | |
parent | f300e609e7975dacc06996d407170fe58aa49439 (diff) | |
download | ouroboros-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 <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/tools/irm/irm_utils.c')
0 files changed, 0 insertions, 0 deletions