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);