From 1b7358e85c0a00bc3553c39fbc52fbdd9f57b8a6 Mon Sep 17 00:00:00 2001 From: George Thessalonikefs Date: Fri, 23 Jul 2021 20:51:14 +0200 Subject: [PATCH] - stream reuse, move log_assert to the correct location. --- services/outside_network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/outside_network.c b/services/outside_network.c index 8c0d3200a..340489ba9 100644 --- a/services/outside_network.c +++ b/services/outside_network.c @@ -1044,8 +1044,8 @@ decommission_pending_tcp(struct outside_network* outnet, if(outnet->tcp_free != pend) { pend->next_free = outnet->tcp_free; outnet->tcp_free = pend; + log_assert(outnet->tcp_free->next_free != outnet->tcp_free); } - log_assert(outnet->tcp_free->next_free != outnet->tcp_free); if(pend->reuse.node.key) { /* needs unlink from the reuse tree to get deleted */ reuse_tcp_remove_tree_list(outnet, &pend->reuse);