mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-22 06:14:02 -07:00
Merge branch 'dev' into dependabot/cargo/zeroidc/h2-0.3.17
This commit is contained in:
commit
c4b7e925a6
2 changed files with 2 additions and 1 deletions
|
@ -504,7 +504,7 @@ public:
|
||||||
* @return The bonding policy used to reach this peer
|
* @return The bonding policy used to reach this peer
|
||||||
*/
|
*/
|
||||||
inline int8_t bondingPolicy() {
|
inline int8_t bondingPolicy() {
|
||||||
Mutex::Lock _l(_paths_m);
|
Mutex::Lock _l(_bond_m);
|
||||||
if (_bond) {
|
if (_bond) {
|
||||||
return _bond->policy();
|
return _bond->policy();
|
||||||
}
|
}
|
||||||
|
|
|
@ -642,6 +642,7 @@ void Switch::aqm_enqueue(void *tPtr, const SharedPtr<Network> &network, Packet &
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!selectedQueue) {
|
if (!selectedQueue) {
|
||||||
|
_aqm_m.unlock();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue