Date: Fri, 7 Feb 2014 05:23:04 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r261578 - stable/9/sys/rpc Message-ID: <201402070523.s175N4RI032014@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Fri Feb 7 05:23:04 2014 New Revision: 261578 URL: http://svnweb.freebsd.org/changeset/base/261578 Log: MFC r261449: Fix lock acquisition in case no request space available, missed in r260097. Modified: stable/9/sys/rpc/svc.c Directory Properties: stable/9/ (props changed) stable/9/sys/ (props changed) Modified: stable/9/sys/rpc/svc.c ============================================================================== --- stable/9/sys/rpc/svc.c Fri Feb 7 05:08:59 2014 (r261577) +++ stable/9/sys/rpc/svc.c Fri Feb 7 05:23:04 2014 (r261578) @@ -1180,9 +1180,9 @@ svc_run_internal(SVCPOOL *pool, bool_t i */ 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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402070523.s175N4RI032014>