This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.
Pablo Neira Ayuso pablo at gnumonks.orgThis patch re-adds support the timer re-scheduling situation which
used to be supported until I introduced the rb-tree based timer.
Signed-off-by: Pablo Neira Ayuso <pablo at gnumonks.org>
---
src/timer.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/timer.c b/src/timer.c
index 6852983..e68040f 100644
--- a/src/timer.c
+++ b/src/timer.c
@@ -68,6 +68,7 @@ static void __add_timer(struct osmo_timer_list *timer)
*/
void osmo_timer_add(struct osmo_timer_list *timer)
{
+ osmo_timer_del(timer);
timer->active = 1;
INIT_LLIST_HEAD(&timer->list);
__add_timer(timer);
--
1.7.2.5
--FCuugMFkClbJLl1L--