mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-08-02 07:02:49 +02:00
the matter doesn't order
This commit is contained in:
parent
6326af6bc3
commit
4e0174cebb
1 changed files with 1 additions and 1 deletions
|
@ -1041,10 +1041,10 @@ unsigned long Switch::doTimerTasks(void* tPtr, int64_t now)
|
||||||
Mutex::Lock rql(rq->lock);
|
Mutex::Lock rql(rq->lock);
|
||||||
if ((rq->timestamp) && (rq->complete)) {
|
if ((rq->timestamp) && (rq->complete)) {
|
||||||
if ((rq->frag0.tryDecode(RR, tPtr, rq->flowId)) || ((now - rq->timestamp) > ZT_RECEIVE_QUEUE_TIMEOUT)) {
|
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) {
|
if ((now - rq->timestamp) > ZT_RECEIVE_QUEUE_TIMEOUT) {
|
||||||
Metrics::vl1_incomplete_reassembly_rx++;
|
Metrics::vl1_incomplete_reassembly_rx++;
|
||||||
}
|
}
|
||||||
|
rq->timestamp = 0;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
const Address src(rq->frag0.source());
|
const Address src(rq->frag0.source());
|
||||||
|
|
Loading…
Add table
Reference in a new issue