mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix lock acquisition in case no request space available, missed in r260097.
MFC after: 3 days
This commit is contained in:
parent
a578215eed
commit
b4fced900b
1 changed files with 1 additions and 1 deletions
|
|
@ -1178,9 +1178,9 @@ svc_run_internal(SVCPOOL *pool, bool_t ismaster)
|
|||
*/
|
||||
xprt->xp_lastactive = time_uptime;
|
||||
do {
|
||||
mtx_unlock(&pool->sp_lock);
|
||||
if (!svc_request_space_available(pool))
|
||||
break;
|
||||
mtx_unlock(&pool->sp_lock);
|
||||
rqstp = NULL;
|
||||
stat = svc_getreq(xprt, &rqstp);
|
||||
if (rqstp) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue