|
@@ -698,6 +698,7 @@ srpc_finish_service(struct srpc_service *sv)
|
|
/* called with sv->sv_lock held */
|
|
/* called with sv->sv_lock held */
|
|
static void
|
|
static void
|
|
srpc_service_recycle_buffer(struct srpc_service_cd *scd, srpc_buffer_t *buf)
|
|
srpc_service_recycle_buffer(struct srpc_service_cd *scd, srpc_buffer_t *buf)
|
|
|
|
+ __must_hold(&scd->scd_lock)
|
|
{
|
|
{
|
|
if (!scd->scd_svc->sv_shuttingdown && scd->scd_buf_adjust >= 0) {
|
|
if (!scd->scd_svc->sv_shuttingdown && scd->scd_buf_adjust >= 0) {
|
|
if (srpc_service_post_buffer(scd, buf) != 0) {
|
|
if (srpc_service_post_buffer(scd, buf) != 0) {
|