- stream reuse, move log_assert to the correct location.

This commit is contained in:
George Thessalonikefs 2021-07-23 20:51:14 +02:00
parent e1fdac7205
commit 1b7358e85c

View file

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