Fix: warning: mutex '_aqm_m' is not held on every path through here [-Wthread-safety-analysis]

This commit is contained in:
Brenton Bostick 2023-04-14 13:11:13 -04:00
parent 7f63d896f9
commit 1cf06fca95

View file

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