diff options
author | mav <mav@FreeBSD.org> | 2014-02-07 04:02:14 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2014-02-07 04:02:14 +0000 |
commit | 46b5a69e31837bee2c445cc2832e51e2af281e8f (patch) | |
tree | 8d7af3f6df976f214faf1809518a4aeae4e1d87b /sys/rpc | |
parent | ce48f3b35de8eeff2a37ad55803ef0e4c57a7f05 (diff) | |
download | FreeBSD-src-46b5a69e31837bee2c445cc2832e51e2af281e8f.zip FreeBSD-src-46b5a69e31837bee2c445cc2832e51e2af281e8f.tar.gz |
MFC r261449:
Fix lock acquisition in case no request space available, missed in r260097.
Diffstat (limited to 'sys/rpc')
-rw-r--r-- | sys/rpc/svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/rpc/svc.c b/sys/rpc/svc.c index bc82cd4..71f9d0a 100644 --- a/sys/rpc/svc.c +++ b/sys/rpc/svc.c @@ -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) { |