Merge branch 'dev' into dependabot/cargo/zeroidc/h2-0.3.17

This commit is contained in:
Grant Limberg 2023-04-19 11:10:18 -07:00 committed by GitHub
commit c4b7e925a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -504,7 +504,7 @@ public:
* @return The bonding policy used to reach this peer
*/
inline int8_t bondingPolicy() {
Mutex::Lock _l(_paths_m);
Mutex::Lock _l(_bond_m);
if (_bond) {
return _bond->policy();
}

View file

@ -642,6 +642,7 @@ void Switch::aqm_enqueue(void *tPtr, const SharedPtr<Network> &network, Packet &
}
}
if (!selectedQueue) {
_aqm_m.unlock();
return;
}