提交 ca208831 编写于 作者: V Vasily Averin 提交者: Xie XiuQi

sunrpc: make visible processing error in bc_svc_process()

mainline inclusion
from mainline-5.0-rc1
commit 8f7766c805d27a56e37cf7e108c2208649b44569
category: bugfix
bugzilla: 10609
CVE: NA

---------------------------

Force bc_svc_process() to generate debug message after processing errors
Signed-off-by: NVasily Averin <vvs@virtuozzo.com>
Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
Signed-off-by: Nzhengbin <zhengbin13@huawei.com>
Reviewed-by: Nyangerkun <yangerkun@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 5fabfbea
......@@ -1502,9 +1502,9 @@ bc_svc_process(struct svc_serv *serv, struct rpc_rqst *req,
if (!proc_error) {
/* Processing error: drop the request */
xprt_free_bc_request(req);
return 0;
error = -EINVAL;
goto out;
}
/* Finally, send the reply synchronously */
memcpy(&req->rq_snd_buf, &rqstp->rq_res, sizeof(req->rq_snd_buf));
task = rpc_run_bc_task(req);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册