aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/svc.c')
-rw-r--r--net/sunrpc/svc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index bb2d99f33315..a02d424a7409 100644
--- a/net/sunrpc/svc.c
+++ b/net/sunrpc/svc.c
@@ -281,6 +281,7 @@ svc_process(struct svc_serv *serv, struct svc_rqst *rqstp)
281 rqstp->rq_res.len = 0; 281 rqstp->rq_res.len = 0;
282 rqstp->rq_res.page_base = 0; 282 rqstp->rq_res.page_base = 0;
283 rqstp->rq_res.page_len = 0; 283 rqstp->rq_res.page_len = 0;
284 rqstp->rq_res.buflen = PAGE_SIZE;
284 rqstp->rq_res.tail[0].iov_len = 0; 285 rqstp->rq_res.tail[0].iov_len = 0;
285 /* tcp needs a space for the record length... */ 286 /* tcp needs a space for the record length... */
286 if (rqstp->rq_prot == IPPROTO_TCP) 287 if (rqstp->rq_prot == IPPROTO_TCP)