From 8a547bdd6c35e8af17afed6bd54a1d49e75ec043 Mon Sep 17 00:00:00 2001 From: Razvan Crainea Date: Wed, 18 Dec 2024 15:35:46 +0200 Subject: [PATCH] b2b_logic: make retry list NULL terminated --- modules/b2b_logic/bridging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/b2b_logic/bridging.c b/modules/b2b_logic/bridging.c index f2f342c3ae..496aaa674f 100644 --- a/modules/b2b_logic/bridging.c +++ b/modules/b2b_logic/bridging.c @@ -2452,7 +2452,7 @@ int b2bl_push_bridge_retry(b2bl_tuple_t *tuple) * order they appear */ lock_get(b2bl_bridge_retry_lock); retry->time = get_uticks(); - retry->next = *b2bl_bridge_retry_head; + retry->next = NULL; if (*b2bl_bridge_retry_last) (*b2bl_bridge_retry_last)->next = retry; else