the matter doesn't order

This commit is contained in:
Lennon Day Reynolds 2025-07-15 14:48:02 -07:00
parent 6326af6bc3
commit 4e0174cebb

View file

@ -1041,10 +1041,10 @@ unsigned long Switch::doTimerTasks(void* tPtr, int64_t now)
Mutex::Lock rql(rq->lock);
if ((rq->timestamp) && (rq->complete)) {
if ((rq->frag0.tryDecode(RR, tPtr, rq->flowId)) || ((now - rq->timestamp) > ZT_RECEIVE_QUEUE_TIMEOUT)) {
rq->timestamp = 0;
if ((now - rq->timestamp) > ZT_RECEIVE_QUEUE_TIMEOUT) {
Metrics::vl1_incomplete_reassembly_rx++;
}
rq->timestamp = 0;
}
else {
const Address src(rq->frag0.source());