Skip to content

Commit

Permalink
Fix: warning: mutex '_aqm_m' is not held on every path through here […
Browse files Browse the repository at this point in the history
…-Wthread-safety-analysis] (#1964)
  • Loading branch information
bostick authored and glimberg committed Apr 19, 2023
1 parent 09acbce commit ff37fe5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions node/Switch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ void Switch::aqm_enqueue(void *tPtr, const SharedPtr<Network> &network, Packet &
}
}
if (!selectedQueue) {
_aqm_m.unlock();
return;
}

Expand Down

0 comments on commit ff37fe5

Please sign in to comment.