From: George Thessalonikefs Date: Fri, 23 Jul 2021 18:51:14 +0000 (+0200) Subject: - stream reuse, move log_assert to the correct location. X-Git-Tag: release-1.13.2rc1~19^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b7358e85c0a00bc3553c39fbc52fbdd9f57b8a6;p=thirdparty%2Funbound.git - stream reuse, move log_assert to the correct location. --- 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);